java.net.ConnectException: Connection refused: connect


Solutions on the web5729

Solution icon of oraclecommunity
via Oracle Community by 431393, 11 months ago
Connection refused: connect java.net.ConnectException: Connection refused: connect

Solution icon of googlegroups
via Google Groups by Stephen Neal, 1 year ago
Connection refused: connect java.net.ConnectException: Connection refused: connect

Solution icon of coderanch
Connection refused: connect

Solution icon of coderanch
via Coderanch by Ajay Thacker, 1 year ago
Connection refused: connect

Solution icon of coderanch
via Coderanch by Matthew McHale, 10 months ago
Connection refused: connect

Solution icon of coderanch
via Coderanch by Hisham Farahat, 10 months ago
Connection refused: connect

Solution icon of coderanch
via Coderanch by kaarthik asokkumar, 10 months ago
Connection refused: connect

Solution icon of coderanch
via Coderanch by Preston Thornton, 1 year ago
Connection refused: connect

Solution icon of coderanch
via Coderanch by Fouad Elm, 10 months ago
Connection refused: connect

Solution icon of coderanch
via Coderanch by Jonathan Blok, 10 months ago
Connection refused: connect

Stack trace

java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
	at java.net.Socket.connect(Socket.java:507)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.enterprisedt.net.ftp.internal.SocketUtils.createSocket(SocketUtils.java:94)
	at com.enterprisedt.net.ftp.FTPControlSocket.<init>(FTPControlSocket.java:310)
	at com.enterprisedt.net.ftp.FTPClient.connect(FTPClient.java:862)
	at com.enterprisedt.net.ftp.FileTransferClient.connect(FileTransferClient.java:367)
	at envgui.GuiFrame.jMenuItem1_actionPerformed(GuiFrame.java:67)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 4 months ago
299 more bugmates