TOR hidden service not always accessible through cURL. Takes multiple tries
5
votes
1
answer
2080
views
When I try to access a hidden service on TOR using cURL, for some reason I'm not getting access to the site 100% of the time. Many times it returns
"curl: (7) Can't complete SOCKS5 connection to 0.0.0.0:0. (5)"
Is there something I can do to configure cURL to work better with TOR? Here is the output I'm getting:
root@Dexter:~# curl --proxy socks5h://localhost:9050 http://5ztppjwojkuslibm.onion/
curl: (7) Can't complete SOCKS5 connection to 0.0.0.0:0. (5)
root@Dexter:~# curl --proxy socks5h://localhost:9050 http://5ztppjwojkuslibm.onion/
curl: (7) Can't complete SOCKS5 connection to 0.0.0.0:0. (5)
root@Dexter:~# curl --proxy socks5h://localhost:9050 http://5ztppjwojkuslibm.onion/
curl: (18) transfer closed with 1 bytes remaining to read
This is a test page to see if I can run a hidden tor service!
Looks like it's working!
root@Dexter:~# root@Dexter:~# curl --proxy socks5h://localhost:9050 http://5ztppjwojkuslibm.onion/ curl: (18) transfer closed with 1 bytes remaining to readThis is a test page to see if I can run a hidden tor service!
Looks like it's working!
root@Dexter:~#
Asked by I like to code
(197 rep)
Oct 6, 2015, 09:25 PM
Last activity: May 9, 2025, 01:00 PM
Last activity: May 9, 2025, 01:00 PM