TOR "Could not bind To,127.0.0.1:9050:under Ubuntu

Source: Internet
Author: User
Tags bind

################################
# If the Could not bind to 127.0.0.1:9050:address already on use appears. Is Tor already running?
################################

The following error occurred while starting the Vidalia log:


Opening Socks Listener on 127.0.0.1:9050


Could not bind to 127.0.0.1:9050:address already on use. Is Tor already running?


Failed to Parse/validate config:failed to bind one of the listener ports.


Reading config Failed–see warnings above.


This is because the Tor service automatically comes up when the system starts, and Vidalia tries to start Tor again when it starts, and finds that the port is already occupied and how to fix it.

Temporary workaround:
$ sudo service tor stop # or Sudo/etc/init.d/tor stop
Then use Vidalia to start Tor again.


Long-term solution:
$ cd/etc/rc2.d/# set to run Level 2 o'clock to close the corresponding service
$ sudo mv S20privoxy k20privoxy
$ sudo mv S20tor k20tor
Note: In a directory like RCX.D, there are symbolic links,nn representations of snnscript and Knnscript, in order from small to large, K means to stop these services first, and then start services that begin with S

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.