I know this is bit of a Java question, but I feel its more of a network issue.
I have a Suse 11 server that I'd put a simple java program on, I start it up with debug options. Just like I do on any other XP/Win7/Ubuntu machine.
With this Suse11 on VM hardware, I can't get the socket to connect. Some times is does connect, but then its like I never receive any packets.
I'm stumped as to why, there is another Suse11 VM that I can connect to and its fine. I can't see any differences between them (Expect they are on different subnets, although I've been assured by the Network dept that this makes no difference)
Can anyone give me some advice, or things that I can check.
It appears that Websphere 7 / JDK 1.6 requires the port to be set to "0.0.0.0:7777" not just "7777". This allows the port to be open outside the current machine.
This has now solved my problem.
Thanks for all the help.