java.net.ConnectException: Connection refused


Solutions on the web5569

Solution icon of github
Connection refused (Connection refused)

Solution icon of stackoverflow
via Stack Overflow by Ravata Ram
, 1 week ago
Connection refused (Connection refused)

Solution icon of github
via GitHub by marbug
, 1 year ago
Connection refused

Solution icon of stackexchange-serverfault
via Server Fault by Unknown author, 1 year ago
Connection refused

Solution icon of stackexchange-serverfault
Connection refused

Solution icon of stackoverflow
Connection refused

Solution icon of stackoverflow
Connection refused

Solution icon of stackoverflow
Connection refused

Solution icon of web
via serverfault.com by Unknown author, 1 year ago
Connection refused

Stack trace

java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:370)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:231)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:213)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:404)
	at java.net.Socket.connect(Socket.java:643)
	at java.net.Socket.connect(Socket.java:590)
	at java.net.Socket.<init>(Socket.java:454)
	at java.net.Socket.<init>(Socket.java:234)
	at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:498)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
	at java.lang.reflect.Method.invoke(Method.java:620)
	at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:370)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:457)

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

582 times, 3 months ago
Once, 11 months ago
21 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
28 times, 1 year ago
846 more bugmates