unforunately no, it has nothong to do with that. The problem occurs on my test program which i wrote which just opens a url connection to an address and tries to get information from it.
It works fine on sun solaris but for some reason its just not working on fc4. I found the problem after trying to test a test query from tomcat to mysql through the network. I got this error message (above) and then i wrote the following test program which gives me the same socket error. There is nothing already bound to the port that it should be using.
Also I should mention that i deliberately configured this fc44 installation with no firewall or network security.
import java.io.*;
import java.net.*;
public class network_test {
public static void main(String [] args) {
try {
System.out.println("aa22222");
URL u = new URL("http://www.google.com");
InputStream in = u.openStream();
System.out.println("a");
int b;
while ((b = in.read()) != -1) {
System.out.write(b);
}
System.out.println("B");
} catch (Exception ex) {
ex.printStackTrace();
}
}
}
Quote:
|
Originally Posted by bytesniper
i did some searching related to that error and im assuming that the application that your using to test is azureus since evertyime i found this error it was with azureus. what i found is one of two things:
1) something else is using the port that azureus is trying to bind to (6881)
2) your loopback interface is not listening. ifconfig lo 127.0.0.1 up
|