org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://localhost:8083/user/info": Connection refused: connect; nested exception is 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 Stack Overflow by Askar Ibragimov
, 9 months ago
I/O error on GET request for "http://localhost:8083/user/info": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
via spring.io by Unknown author, 1 year ago
I/O error on POST request for "http://upload-...":Error writing request body to server; nested exception is java.io.IOException: Error writing request body to server
via Stack Overflow by Unknown author, 1 year ago
I/O error on GET request for "https://XXXXXXXXXXXXXX:8243/token":Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
via GitHub by OrangeDog
, 1 year ago
I/O error on POST request for "https://ribbon-client":com.sun.jersey.api.client.ClientHandlerException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:7443 [localhost/127.0.0.1] failed: Connection refused: connect; nested
via Stack Overflow by Sam
, 7 months ago
I/O error on GET request for "https://URL_To_Connect_With_External_System": connect timed out; nested exception is java.net.SocketTimeoutException: connect timed out
via Stack Overflow by User1
, 1 week ago
I/O error on GET request for "/some/resource": null; nested exception is org.apache.http.client.ClientProtocolException
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://localhost:8083/user/info": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:633)
at org.springframework.web.socket.sockjs.client.RestTemplateXhrTransport.executeInfoRequestInternal(RestTemplateXhrTransport.java:138)
at org.springframework.web.socket.sockjs.client.AbstractXhrTransport.executeInfoRequest(AbstractXhrTransport.java:155)
at org.springframework.web.socket.sockjs.client.SockJsClient.getServerInfo(SockJsClient.java:286)
at org.springframework.web.socket.sockjs.client.SockJsClient.doHandshake(SockJsClient.java:254)
at org.springframework.web.socket.messaging.WebSocketStompClient.connect(WebSocketStompClient.java:274)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
Once, 2 weeks ago
Once, 2 months ago
Once, 3 months ago
15 more bugmates

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