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

    Firewall might be blocking your connection, or MySQL it's not running on your server machine.

  2. ,
    Expert tip

    Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.

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 Byron Z-Oracle, 11 months ago
org.apache.http.conn.HttpHostConnectException: Connection to http://localhost: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 Thabo Mpele, 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.com by Unknown author, 2 years ago
org.apache.http.conn.HttpHostConnectException: Connection to http://tmpele:7001 refused
com.fatwire.cs.core.http.HttpAccessException: org.apache.http.conn.HttpHostConnectException: Connection tohttp://10.10.160.105:7001refused at com.fatwire.cs.core.http.HttpAccess.execute(HttpAccess.java:367) at COM.FutureTense.Util.ftUtil._readUsingHttpAccess(ftUtil.java:814) at COM.FutureTense.Util.ftUtil.readByteURL(ftUtil.java:735) at COM.FutureTense.Util.ftUtil.readURL(ftUtil.java:700) 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:232) at COM.FutureTense.Platform.SystemEvents.FileSystemBasedClusteredEventExecutor$LockingCallable.call(FileSystemBasedClusteredEventExecutor.java:198) 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:744)Caused by: org.apache.http.conn.HttpHostConnectException: Connection tohttp://10.10.160.105:7001refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158) 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:552) at com.fatwire.cs.core.http.HttpAccess.execute(HttpAccess.java:343) ... 11 moreCaused by: java.net.ConnectException: Connection refused: connect at java.net.TwoStacksPlainSocketImpl.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.PlainSocketImpl.connect(PlainSocketImpl.java:172) 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) ... 18 more