HiTek Software Home
 
Title Connection refused by server during Ftp, Telnet or Ping tasks
Date Updated 3/10/04
Versions affected Automize 4.0+, JavaScheduler 2.5+
OS affected All
Description Connection refused by server.  
Output Log Connection refused: no further information
Causes The most common cause of this error is:
Server does not accept connections on selected port
Solution Ftp default port is 21. Telnet default port is 23. Try other port in case of Ping. 
Debug Log

java.net.ConnectException: Connection refused: no further information

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)

at java.net.Socket.<init>(Socket.java:273)

at java.net.Socket.<init>(Socket.java:100)

at PingTask.ping(PingTask.java:132)

at PingTask.PingTask(PingTask.java:43)

at timerRunTask.run(RunTask.java:96)

at java.util.TimerThread.mainLoop(Timer.java:435)

at java.util.TimerThread.run(Timer.java:385)