java.net.ConnectException: failed to connect to bogon/120.192.83.163 (port 7080) after 120000ms: isConnected failed: ECONNREFUSED (Connection refused) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:224) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:161) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:112) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.Socket.connect(Socket.java:842) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at cz.msebera.android.httpclient.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at cz.msebera.android.httpclient.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:157)

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

Solutions on the web

via GitHub by about-bob
, 1 year ago
failed to connect to bogon/120.192.83.163 (port 7080) after 120000ms: isConnected failed: ECONNREFUSED (Connection refused) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:224) 08-12 11:27
java.net.ConnectException: failed to connect to bogon/120.192.83.163 (port 7080) after 120000ms: isConnected failed: ECONNREFUSED (Connection refused) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:224) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:161) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:112) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at java.net.Socket.connect(Socket.java:842) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at cz.msebera.android.httpclient.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117) 08-12 11:27:45.493 10718-11679/xxxx.com W/System.err: at cz.msebera.android.httpclient.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:157)
at cz.msebera.android.httpclient.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:65)
at cz.msebera.android.httpclient.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
at cz.msebera.android.httpclient.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:145)
at cz.msebera.android.httpclient.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131)
at cz.msebera.android.httpclient.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
at cz.msebera.android.httpclient.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
at cz.msebera.android.httpclient.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:860)
at cz.msebera.android.httpclient.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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