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. ,

    Check if your MongoDB is available.

  2. ,
    via GitHub by rawlingsj

    host port isnt set

Solutions on the web

via Oracle Community by 63601036-4878-4d62-929f-b2bf385c41cb, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connection to http://uat-corpwebdca01.sunpowercorp.com:8080 refused
via Oracle Community by 2697344, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connection to http://ussbcs02:7003 refused
via Oracle Community by 2807462, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:7005 refused
via Oracle Community by Sashank Pappu, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connection to http://<FullComputerName>:7004 refused
via Oracle Community by 982860, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connection to http://tmpele:7001 refused
via Oracle Community by 1004449, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:7001 refused
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)	at java.net.Socket.connect(Socket.java:529)	at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:123)	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)