ndt-users - Re: Exception in thread "AWT-EventQueue-1" java.lang.IllegalArgumentException: port out of range:654321 Error ?
Subject: ndt-users list created
List archive
Re: Exception in thread "AWT-EventQueue-1" java.lang.IllegalArgumentException: port out of range:654321 Error ?
Chronological Thread
- From: Richard Carlson <>
- To:
- Subject: Re: Exception in thread "AWT-EventQueue-1" java.lang.IllegalArgumentException: port out of range:654321 Error ?
- Date: Tue, 04 Jan 2011 08:50:04 -0500
Something is very wrong here.
The TCPbw100.java file is an applet, not a java program. The numbers 123456 654321 are part of the server's initialization message. I don't see how you could get them as port numbers. If you are trying to run a non-browser client, then use the web100clt program, not the .java version.
All code is contained in the NDT distribution tarball.
Rich
On 1/4/2011 7:24 AM, Jason Zurawski wrote:
Hi Galuschka;
If you are running the application on ports '123456' and '654321', these
are too large. Choose port numbers that are less than 65535.
Thanks;
-jason
On 1/4/11 4:12 AM, galuschka wrote:
when i excute Tcpbw100.java , get the error msg :
server ports 123456 654321
Exception in thread "AWT-EventQueue-1"
java.lang.IllegalArgumentException:
port out of range:654321
at java.net.InetSocketAddress.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at Tcpbw100.dottcp(Tcpbw100.java:224)
at Tcpbw100.runtest(Tcpbw100.java:155)
at Tcpbw100.actionPerformed(Tcpbw100.java:1228)
at java.awt.Button.processActionEvent(Unknown Source)
at java.awt.Button.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Anyone knows what's problem about it ?how to solve it ?
--
Richard Carlson
DOE ASCR -- SC-21.1 / GTN
1000 Independence Ave. SW
Washington, DC 20585
P: (301) 903-9486
- Re: Exception in thread "AWT-EventQueue-1" java.lang.IllegalArgumentException: port out of range:654321 Error ?, Jason Zurawski, 01/04/2011
- Re: Exception in thread "AWT-EventQueue-1" java.lang.IllegalArgumentException: port out of range:654321 Error ?, Richard Carlson, 01/04/2011
Archive powered by MHonArc 2.6.16.