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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web235

  • 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 Stack Overflow by Arpit Mahajan
    , 2 months ago
    I/O error on GET request for "http://localhost:8080/SpringBootRestApi/api/user/":Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
  • I/O error on GET request for "http://localhost:8602/management/health": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
  • Stack trace

    • 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)[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:595)[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.web.socket.sockjs.client.RestTemplateXhrTransport.executeInfoRequestInternal(RestTemplateXhrTransport.java:138)[spring-websocket-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.web.socket.sockjs.client.AbstractXhrTransport.executeInfoRequest(AbstractXhrTransport.java:155)[spring-websocket-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.web.socket.sockjs.client.SockJsClient.getServerInfo(SockJsClient.java:286)[spring-websocket-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.web.socket.sockjs.client.SockJsClient.doHandshake(SockJsClient.java:254)[spring-websocket-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.web.socket.messaging.WebSocketStompClient.connect(WebSocketStompClient.java:274)[spring-websocket-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.web.socket.messaging.WebSocketStompClient.connect(WebSocketStompClient.java:255)[spring-websocket-4.3.3.RELEASE.jar:4.3.3.RELEASE]

    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

    Once, 13 hours ago
    2 times, 3 months ago
    Once, 6 months ago
    Unknown user
    Once, 9 months ago
    4 times, 9 months ago
    12 more bugmates