Network Connection from java application

Hi!

When I run my java application from the Windows command line, I get error "Unable to connect to host: xxx on port 30999". When I run the same application from Eclipse environment, it can connect. What's the problem. Where I should chabge settings. (I'm trying to connect to server from local network).

Thanks!

[334 byte] By [NIKnighta] at [2007-10-3 2:50:34]
# 1
Firewall? And where does the message come from?
CeciNEstPasUnProgrammeura at 2007-7-14 20:39:24 > top of Java-index,Java Essentials,Java Programming...
# 2
It prints on the command line. Firewall - may be. But why it connects from Eclipse in this case?
NIKnighta at 2007-7-14 20:39:24 > top of Java-index,Java Essentials,Java Programming...
# 3
> It prints on the command line. Yes. But where does it come from?
CeciNEstPasUnProgrammeura at 2007-7-14 20:39:24 > top of Java-index,Java Essentials,Java Programming...
# 4
> It prints on the command line. Firewall - may be. But> why it connects from Eclipse in this case?Disregard that. I somehow thought you were opening the port.
CeciNEstPasUnProgrammeura at 2007-7-14 20:39:24 > top of Java-index,Java Essentials,Java Programming...
# 5
How can I determine it? I have a text error message only.
NIKnighta at 2007-7-14 20:39:24 > top of Java-index,Java Essentials,Java Programming...
# 6
Post the portion of code where you connect to server.
nvpathia at 2007-7-14 20:39:24 > top of Java-index,Java Essentials,Java Programming...
# 7
> How can I determine it? I have a text error message> only.Are we suppressing an exception, hm?
CeciNEstPasUnProgrammeura at 2007-7-14 20:39:24 > top of Java-index,Java Essentials,Java Programming...