I'm programmatically using Tor to hit web pages. I wanted to test some new functionality out on a local webpage, so I created and deployed one using Tomcat.
Now when my program goes to hit localhost:8080/MyDir/somePage.html
, it errors out, giving a java.net.SocketException: SOCKS server general failure
.
I use Firefox as a browser and have it set up to route traffic through Tor. There's an option for No Proxy For:
, where I can put localhost
and then be able to browse to my localhost page I created.
Is there some equivalent torrc option or something I can set, so my program does not try to proxy using Tor to hit a local webpage?
I am assuming that is my issue, correct me if I'm wrong!