Blog-Views-Bot
Blog-Views-Bot copied to clipboard
OSError: Process terminated: Failed to bind one of the listener ports
File "blog-view.py", line 42, in
I think when you installed Tor, the service of tor is running since the Tor Request package launches the tor service you have to first end the original service. Or change the port in code. To end the service
sudo service tor stop
I am having the same issue, and
sudo service tor stop
returns "service command not found."
Check for the correct port no of tor service. Change it to that. For stopping the service you can
cd /etc/init.d/
./tor stop
Thanks for the response. I am a n00b, how do I check for the correct port no?
i have the torrc file and everything looks fine ( i just used the default sample file).
I think my problem is the port setting.
edit. i am also on a mac this command doesn't stop tor.
cd /etc/init.d/
./tor stop
When i start by just entering tor in terminal, i cannot stop it. I am just restarting.
however,
brew services start tor and
stop tor
work fine.
Ok. That command will only work on Linux. So now that you can start, restart and stop tor. You can easily check the port no by typing
$ tor
The output will contain port number
Nov 20 11:26:33.409 [notice] Opening Socks listener on 127.0.0.1:9050
wonderful. thanks. now it works but the counter does not work (number of hits doesn't increase), and the ip addresses are all the same.