java.net.ConnectException: Connection refused: connect

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by muleby, 6 months ago
via Stack Overflow by stivlo
, 2 years ago
via Google Groups by Crimsonarcher via StackOverflow, 2 weeks ago
Connection refused: connect
via Stack Overflow by Unknown author, 2 years ago
via Stack Overflow by Dmitry
, 2 years ago
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at psft.pt8.pshttp.http.HttpClient.openServer(HttpClient.java:378)
at psft.pt8.pshttp.http.HttpClient.openServer(HttpClient.java:549)
at psft.pt8.pshttp.http.HttpClient.(HttpClient.java:316)
at psft.pt8.pshttp.http.HttpClient.(HttpClient.java:326)
at psft.pt8.pshttp.http.HttpClient.New(HttpClient.java:338)
at psft.pt8.pshttp.http.HttpURLConnection.connect(HttpURLConnection.java:451)
at psft.pt8.pshttp.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:498)
at psft.pt8.pshttp.PSHttp.createOutputStream(PSHttp.java:354)
at psft.pt8.pshttp.PSHttp.send(PSHttp.java:344)
at com.peoplesoft.pt.ppm.monitor.PPMIClient._transmit(PPMIClient.java:225)
at com.peoplesoft.pt.ppm.monitor.PPMIClient.transmit(PPMIClient.java:187)
at com.peoplesoft.pt.ppm.monitor.PPMIClient.run(PPMIClient.java:166)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

142 times, 10 hours ago
8 times, 1 day ago
552 times, 1 day ago
11 times, 4 days ago
26943 times, 4 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.