Connection Refused: Connect
All, any assistance much appreciated (apologies I am very rusty with Java)
Java 1.5.0_11 Windows XP SP2.
Connection refused when trying to connect to a local network device on same subnet as PC. Makes no difference whether firewall on or off, or whether security policy set or not. The connection refused message is coming from the underlying operating system or Java permissions to IP ports rather than the network device as I can achieve a connection on another XP SP2 PC connected to the same device and patched to the same level.
Same Java version on both, same IP routes, same network configuration (different fixed IP addresses), able to resolve localhost and remote IP addresses on both, Netcat working, Hyper Terminal working. All Java permissions set low, same environment variables on both, appropriate IP ports free, connection refused irrespective of whether port listening or not. DNS resolving ok, arp cache correct, IP routes correct.
java.net.ConnectException: Connection refused: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
Is there a fundamental problem with Java 1.5.0_11 and Windows XP SP2?
Regards
Ralph

