Getting Tor ControlPort to work

六眼飞鱼酱① 提交于 2019-12-01 00:41:49

the problem you have is because you are running tor as a Windows Service. The issue is that when tor is installed as a service, for whatever reason the Control Port is not enabled. To fix your issue, open your terminal, navigate to the tor directory and type the following commands:

tor --service remove
tor --service install -options ControlPort 9051

Now, tor is installed as a service AND the ControlPort is enabled on port 9051. If you type "netstat -an" you will now see that port 9051 is open.

You will then be able to use Stem to connect to the ControlPort.

I hope this helps.

Peace. Sat Cit Ananda.

Solution that worked for me (windows 10) with a bit of tweaking from Sat Cit Ananda's answer:

[at your terminal]
cd ...\Tor Browser\Browser\TorBrowser\Tor
tor --service remove
tor --service install -options ControlPort 9151
netstat -an

Tor service runs at default port 9150 and ControlPort on 9151. You should be able to see local address 127.0.0.1:9150 and 127.0.0.1:9151 when you run netstat -an.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!