Page 1 of 1
Java IOException error when running from DOS box
Posted: Thu Aug 14, 2008 4:40 pm
by mikeattwood
I have a Java program that creates a Socket (Socket s = new Socket(servers[userNo],25);) and this ran OK from a DOS box using jdk1.6.0_01 but since updating to jdk1.6.0_07 and recompiling it runs OK from TextPad but produces an IOException when run from a DOS box
details ....
Posted: Sat Aug 16, 2008 2:47 am
by Nicholas Jordan
what does exception.getMessage() say
Posted: Sat Aug 16, 2008 7:34 am
by mikeattwood
The exception is connection refused: connect
Problem sorted
Posted: Sat Aug 16, 2008 10:02 am
by mikeattwood
The problem was caused by the Norton firewall.
I have sorted it but I am still puzzled as to why it should work OK from TextPad and not from a DOS box.
possibly lengthy
Posted: Sat Aug 16, 2008 6:51 pm
by Nicholas Jordan
I have been working on this, let us say for the purpose of clarifiying: "uh, non-obvious" It can get deep in a hurry.
http://www.nabble.com/ide-password-does ... 14104.html
http://www.codeproject.com/w2k/junction ... e_Solution
That is all I have so far, let me know if you want to work it.