java.net.SocketException: Can't connect to SOCKS proxy:Connection 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

Solutions on the web

via GitHub by LuckyTheCat
, 2 years ago
Connection refused: connect
via Oracle Community by 843802, 1 year ago
via Stack Overflow by nmpg
, 2 years ago
SOCKS : authentication failed
via Stack Overflow by MattC
, 1 year ago
via Google Groups by Adam Lipscombe, 5 months ago
SOCKS: Connection not allowed by ruleset
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:463)
at java.net.Socket.connect(Socket.java:520)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at uk.ac.ebi.webservices.wsncbiblast.WSNCBIBlastSoapBindingStub.runNCBIBlast(Unknown Source)
at connjur.utils.bioinformatics.blast.WSNCBIBlastClient.runApp(WSNCBIBlastClient.java:211)
at connjur.utils.bioinformatics.blast.WSNCBIBlastClientWrapper.run(WSNCBIBlastClientWrapper.java:30)
at connjur.utils.bioinformatics.blast.WSNCBIBlastClientWrapper.main(WSNCBIBlastClientWrapper.java:43)

Users with the same issue

65 times, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

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