我安装了 Vidalia,将 Chrome 设置为使用端口 8118 作为代理,我已经通过https://check.torproject.org/检查了我的连接,但我在使用命令行工具 cURL 进行这项工作时遇到了困难。这是我尝试的:
C:\>curl -v --proxy localhost::9050 http://google.com
* About to connect() to proxy localhost port 0 (#0)
* Failed to connect to ↕: Address not available
* No error
* Trying 127.0.0.1... Failed to connect to 127.0.0.1: Address not available
* No error
* couldn't connect to host
* Closing connection #0
curl: (7) Failed to connect to ↕: Address not available
已解决:
curl -v --socks4a localhost:9050 http://check.torproject.org/