Using the Socket mySock = new Socket("my.ip.add.ress", port#) construct, I'm unable to create a connection on my local machine; I get a "connection refused" error.
At first, I thought this was an OS issue; I run OpenBSD, and they're notoriously paranoid about security. However, the folks at
[email protected] have basically assured me that the OS is not the issue, and they're backed up by the fact that I can call Python to do basically the same thing without any trouble.
I've had it suggested to me that
Java is setting up the kernel call wrong, and that's the only plausible thing I can think of -- particularly since I have upgraded my kernel sine I installed my Java compiler (BTW, I run JDK 1.1.8).
Is there any
testing I can to do see what the cause of the problem might be? Any ideas as to what might be going wrong?
Thanks,
Alex Kirk