Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.

  2. ,
    via GitHub by rawlingsj

    host port isnt set

Solutions on the web

via Stack Overflow by Bob Samadi
, 2 years ago
via Google Groups by stephen...@sap.com (JIRA), 1 year ago
via GitHub by snim2
, 2 years ago
via openas2 by santosh-vjit
, 7 months ago
Connection refused (Connection refused)
via Stack Overflow by Hentory Wu
, 4 months ago
Connection refused (Connection refused)
via GitHub by hologup
, 1 year ago
Connection refused
java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) at java.net.Socket.connect(Socket.java:579) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618) at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:309) at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:46) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:238) at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:167) at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:386) at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:349) at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.auth(ZimletUtil.java:1638) at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1475) at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimlet(ZimletUtil.java:1408) at com.zimbra.cs.zimlet.ZimletUtil.deployZimletBySoap(ZimletUtil.java:1184) at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1808) at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1907)