java.net.ConnectException: Connection refused

Mirth Project | Peter Scholz | 2 years ago
  1. 0

    Web Service dipatch failes and sets the message status to ERROR if no connection can be made to the external server: {noformat} Web Service Sender error ERROR MESSAGE: Error creating web service dispatch java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:249) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.mirth.connect.connectors.ws.WebServiceDispatcher.getWsdlUrl(WebServiceDispatcher.java:163) at com.mirth.connect.connectors.ws.WebServiceDispatcher.createDispatch(WebServiceDispatcher.java:132) at com.mirth.connect.connectors.ws.WebServiceDispatcher.send(WebServiceDispatcher.java:228) at com.mirth.connect.donkey.server.channel.DestinationConnector.handleSend(DestinationConnector.java:612) at com.mirth.connect.donkey.server.channel.DestinationConnector.run(DestinationConnector.java:517) at java.lang.Thread.run(Thread.java:662) {noformat}

    Mirth Project | 2 years ago | Peter Scholz
    java.net.ConnectException: Connection refused
  2. 0

    Web Service dipatch failes and sets the message status to ERROR if no connection can be made to the external server: {noformat} Web Service Sender error ERROR MESSAGE: Error creating web service dispatch java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:249) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.mirth.connect.connectors.ws.WebServiceDispatcher.getWsdlUrl(WebServiceDispatcher.java:163) at com.mirth.connect.connectors.ws.WebServiceDispatcher.createDispatch(WebServiceDispatcher.java:132) at com.mirth.connect.connectors.ws.WebServiceDispatcher.send(WebServiceDispatcher.java:228) at com.mirth.connect.donkey.server.channel.DestinationConnector.handleSend(DestinationConnector.java:612) at com.mirth.connect.donkey.server.channel.DestinationConnector.run(DestinationConnector.java:517) at java.lang.Thread.run(Thread.java:662) {noformat}

    Mirth Project | 2 years ago | Peter Scholz
    java.net.ConnectException: Connection refused
  3. 0

    Connection refused as reported by TBC/TBL but works from browser

    Google Groups | 2 years ago | Nicolae Marasoiu
    org.topbraid.spin.sparqlmotion.modules.SMException: Failed to authenticate
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    deploy error

    GitHub | 2 years ago | yuanhailong
    java.net.ConnectException: Connection refused

  1. linxiaolong 18 times, last 3 weeks ago
  2. Kialandei 1 times, last 1 month ago
  3. DoktorDoener666 41 times, last 2 weeks ago
  4. kjhdofjosvs 2 times, last 1 month ago
  5. Gatgeagent 1 times, last 2 months ago
22 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.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:529)
    7. java.net.Socket.connect(Socket.java:478)
    8. java.net.Socket.<init>(Socket.java:375)
    9. java.net.Socket.<init>(Socket.java:249)
    9 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
    2. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
    3. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
    4. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
    6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
    7 frames
  4. com.mirth.connect
    DestinationConnector.run
    1. com.mirth.connect.connectors.ws.WebServiceDispatcher.getWsdlUrl(WebServiceDispatcher.java:163)
    2. com.mirth.connect.connectors.ws.WebServiceDispatcher.createDispatch(WebServiceDispatcher.java:132)
    3. com.mirth.connect.connectors.ws.WebServiceDispatcher.send(WebServiceDispatcher.java:228)
    4. com.mirth.connect.donkey.server.channel.DestinationConnector.handleSend(DestinationConnector.java:612)
    5. com.mirth.connect.donkey.server.channel.DestinationConnector.run(DestinationConnector.java:517)
    5 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame