java.net.ConnectException: Connection refused

Google Groups | Jenkins | 7 months ago
  1. 0

    Build failed in Jenkins: OpenMRS-IntegrationTests-v1.12 #21

    Google Groups | 6 months ago | Jenkins
    java.net.ConnectException: Connection refused
  2. 0

    Build failed in Jenkins: OpenMRS-IntegrationTests-v1.12 #1

    Google Groups | 7 months ago | Jenkins
    java.net.ConnectException: Connection refused
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    nested exception is org.springframework.web.client.ResourceAccessException: I/O error

    Coderanch | 4 years ago | rama kammari
    java.net.ConnectException: Connection refused: connect

  1. michallos 1 times, last 5 days ago
  2. treefolk 2 times, last 1 day ago
  3. linxiaolong 18 times, last 4 weeks ago
  4. Kialandei 1 times, last 1 month ago
  5. DoktorDoener666 41 times, last 3 weeks ago
24 more registered users
65 unregistered visitors
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. java.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    7. java.net.Socket.connect(Socket.java:538)
    8. java.net.Socket.<init>(Socket.java:434)
    9. java.net.Socket.<init>(Socket.java:286)
    9 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
    2. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
    3. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    4. org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    6. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    8. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    8 frames
  4. Spring
    RestTemplate.exchange
    1. org.springframework.http.client.CommonsClientHttpRequest.executeInternal(CommonsClientHttpRequest.java:85)
    2. org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
    3. org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:50)
    4. org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:519)
    5. org.springframework.web.client.RestTemplate.execute(RestTemplate.java:495)
    6. org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:446)
    6 frames
  5. org.motechproject.openmrs
    MRSUserServiceIT.setUp
    1. org.motechproject.openmrs.resource.impl.BaseResource.exchange(BaseResource.java:88)
    2. org.motechproject.openmrs.resource.impl.BaseResource.exchange(BaseResource.java:83)
    3. org.motechproject.openmrs.resource.impl.BaseResource.getJson(BaseResource.java:36)
    4. org.motechproject.openmrs.resource.impl.UserResourceImpl.queryForUsersByUsername(UserResourceImpl.java:33)
    5. org.motechproject.openmrs.service.impl.OpenMRSUserServiceImpl.getUserByUserName(OpenMRSUserServiceImpl.java:172)
    6. org.motechproject.openmrs.service.impl.OpenMRSUserServiceImpl.validateUserNameUsage(OpenMRSUserServiceImpl.java:190)
    7. org.motechproject.openmrs.service.impl.OpenMRSUserServiceImpl.createUser(OpenMRSUserServiceImpl.java:53)
    8. org.motechproject.openmrs.it.MRSUserServiceIT.createUser(MRSUserServiceIT.java:160)
    9. org.motechproject.openmrs.it.MRSUserServiceIT.setUp(MRSUserServiceIT.java:49)
    9 frames