java.net.ConnectException

tip

Check if your MongoDB is available.


rp
tip

host port isnt set

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 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}
    via by Peter Scholz,
  • 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}
    via by Peter Scholz,
  • GitHub comment 22#60719720
    via GitHub by xingfengshen
    ,
  • deploy error
    via GitHub by yuanhailong
    ,
  • [Hadoop] storing data in ES using pig script
    via by hanine haninne,
    • 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)

    Users with the same issue

    stigkj
    4 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    820 more bugmates