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

tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Self-Connect to Websocket Spring server from JUnit test

    Stack Overflow | 3 months ago | Askar Ibragimov
    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
  2. 0
    samebug tip
    Check if your path is correct, if it's correct already you have to register your path to the mapping configuration.
  3. 0

    Spring websocket authentication with spring security: 401 error

    Stack Overflow | 2 months ago | Dave Pateral
    org.springframework.web.client.HttpClientErrorException: 401 null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 3925#138639042

    GitHub | 2 years ago | dhoffi
    org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://localhost:8888/remoteDebugTest/default":Connection refused; nested exception is java.net.ConnectException: Connection refused
  6. 0

    Failed to create WebSocket connection when Spring Security is on

    Stack Overflow | 2 years ago | user3632166
    org.springframework.web.client.HttpClientErrorException: 405

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

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