java.net.ConnectException: Connection refused

Google Groups | Jenkins | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

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

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

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

    Automated exception search integrated into your IDE

  1. stigkj 4 times, last 2 months ago
  2. QrCeric 17 times, last 18 hours ago
  3. andyglick 56 times, last 2 months ago
  4. tomthomas 1 times, last 2 months ago
  5. michallos 1 times, last 2 months ago
27 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.openmrs19
    MRSUserServiceIT.setUp
    1. org.motechproject.openmrs19.resource.impl.BaseResource.exchange(BaseResource.java:88)
    2. org.motechproject.openmrs19.resource.impl.BaseResource.exchange(BaseResource.java:83)
    3. org.motechproject.openmrs19.resource.impl.BaseResource.getJson(BaseResource.java:36)
    4. org.motechproject.openmrs19.resource.impl.UserResourceImpl.queryForUsersByUsername(UserResourceImpl.java:33)
    5. org.motechproject.openmrs19.service.impl.OpenMRSUserServiceImpl.getUserByUserName(OpenMRSUserServiceImpl.java:172)
    6. org.motechproject.openmrs19.service.impl.OpenMRSUserServiceImpl.validateUserNameUsage(OpenMRSUserServiceImpl.java:190)
    7. org.motechproject.openmrs19.service.impl.OpenMRSUserServiceImpl.createUser(OpenMRSUserServiceImpl.java:53)
    8. org.motechproject.openmrs19.it.MRSUserServiceIT.createUser(MRSUserServiceIT.java:160)
    9. org.motechproject.openmrs19.it.MRSUserServiceIT.setUp(MRSUserServiceIT.java:49)
    9 frames