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

Samebug tips

,

Check if your MongoDB is available.

,

Check if your MariaDB is running and available.

Solutions on the web

via Oracle Community by 17712, 1 year ago
Connection refused: connect
via Oracle Community by 617825, 1 year ago
Connection refused: connect
via Oracle Community by 843790, 1 year ago
via Oracle Community by 843807, 1 year ago
via Oracle Community by 843798, 1 year ago
Connection refused: connect
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 java.net.Socket.connect(Socket.java:457)
at java.net.Socket.(Socket.java:365)
at java.net.Socket.(Socket.java:207)
at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3049)
at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:3792)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2855)
at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2784)
at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2570)
at HTTPClient.HTTPConnection.Get(HTTPConnection.java:802)
at oracle.wireless.its.mdb.requester.NetworkRequester.processRequest(NetworkRequester.java:164)
at oracle.wireless.its.mdb.requester.ApplicationServerRequesterImpl.handleRequestToUri(ApplicationServerRequesterImpl.java:146)
at oracle.wireless.its.mdb.requester.ApplicationServerRequesterImpl.handleRequest(ApplicationServerRequesterImpl.java:266)
at oracle.wireless.its.mdb.PageProcessorImpl.loadUri(PageProcessorImpl.java:902)
at oracle.wireless.its.mdb.PageProcessorImpl.start(PageProcessorImpl.java:113)
at oracle.wireless.its.mdb.DeviceSelectionPageProcessor.process(DeviceSelectionPageProcessor.java:223)
at oracle.wireless.its.mdb.TelnetMessageListenerImpl.onMessageInput(TelnetMessageListenerImpl.java:852)
at oracle.wireless.its.mdb.TelnetMessageListenerImpl.onMessage(TelnetMessageListenerImpl.java:110)
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.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.invokeMessageInflowCallbacks(MessageEndpointImpl.java:294)
at undefined.TelnetMessageListener_MessageEndpoint0.onMessage(TelnetMessageListener_MessageEndpoint0.java:74)
at oracle.wireless.its.ra.ClientInputProcessor.callOnMessage(ClientInputProcessor.java:598)
at oracle.wireless.its.ra.ClientInputProcessor.handleOnMessageInput(ClientInputProcessor.java:376)
at oracle.wireless.its.ra.ClientInputProcessor.runInternal(ClientInputProcessor.java:297)
at oracle.wireless.its.ra.ClientInputProcessor.run(ClientInputProcessor.java:76)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
302 more bugmates

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