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. ,
    via GitHub by rawlingsj

    host port isnt set

  2. ,

    Check if your MongoDB is available.

Solutions on the web

via Oracle Community by 2635224, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connection to http://10.10.160.105:7001 refused
via Oracle Community by 2697344, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connection to http://usdcwcsconua002.wft.root.loc:7003 refused
via Oracle Community by 2697344, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connection to http://ussbcs02:7003 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
via Oracle Community by Sashank Pappu, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connection to http://<FullComputerName>:7004 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:392)	at java.net.Socket.connect(Socket.java:579)	at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:123)	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)	at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)	at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)	at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)	at com.fatwire.cs.core.http.HttpAccess.execute(HttpAccess.java:578)	at com.fatwire.cs.core.http.HttpAccess.execute(HttpAccess.java:369)	at COM.FutureTense.Util.ftUtil._readUsingHttpAccess(ftUtil.java:817)	at COM.FutureTense.Util.ftUtil.readByteURL(ftUtil.java:738)	at COM.FutureTense.Util.ftUtil.readURL(ftUtil.java:703)	at COM.FutureTense.Platform.SystemEvents.RequestEventItem.execute(RequestEventItem.java:58)	at COM.FutureTense.Platform.SystemEvents.AbstractEventItem.run(AbstractEventItem.java:170)	at COM.FutureTense.Platform.SystemEvents.FileSystemBasedClusteredEventExecutor$LockingCallable.call(FileSystemBasedClusteredEventExecutor.java:233)	at COM.FutureTense.Platform.SystemEvents.FileSystemBasedClusteredEventExecutor$LockingCallable.call(FileSystemBasedClusteredEventExecutor.java:199)	at java.util.concurrent.FutureTask.run(FutureTask.java:262)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)