org.apache.http.conn.HttpHostConnectException: Connection to http://127.0.0.2:8000 refused

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

,
Expert tip

Probably the server has crashed or it isn't running, or your client is trying to connect to it using the wrong port.

Solutions on the web

via Stack Overflow by Yohannes Taye
, 1 year ago
Connection to http://127.0.0.2:8000 refused
via Stack Overflow by ranjith
, 2 years ago
Connection to http://192.168.1.1:8080 refused
via Stack Overflow by timestron
, 1 year ago
Connection to http://192.168.1.135:9000 refused
via Stack Overflow by Hassy
, 2 years ago
Connection to <a href="http://127.0.0.1" rel="nofollow">http://127.0.0.1</a> refused
via xda-developers.com by Unknown author, 1 year ago
via Stack Overflow by Dexter
, 2 years ago
Connection to <a href="http://api.twitter.com" rel="nofollow">http://api.twitter.com</a> refused
org.apache.http.conn.HttpHostConnectException: Connection to http://127.0.0.2:8000 refused
at libcore.io.IoBridge.isConnected(IoBridge.java:238)
at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
at libcore.io.IoBridge.connect(IoBridge.java:122)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)

Users with the same issue

3 times, 1 month ago
20 times, 4 months ago
2 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
49 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.