[tor-talk] Tor isn't opening a listening port...

Roger Dingledine arma at mit.edu
Fri Apr 3 00:21:04 UTC 2015


On Thu, Apr 02, 2015 at 06:54:56PM -0500, Cypher wrote:
> Hello Everyone,
> 
> I'm configuring two hidden services on the same box (Ubuntu 14.04). In
> my torrc I have the following four lines:
> 
> HiddenServiceDir /var/lib/tor/first_hidden_service/
> HiddenServicePort 9999 127.0.0.1:9999
> 
> HiddenServiceDir /var/lib/tor/second_hidden_service/
> HiddenServicePort 8008 127.0.0.1:80
> 
> For some reason, the second hidden service simply isn't working. Port
> 8008 is not being opened by Tor at all.

Tor doesn't open those ports. It simply interprets incoming (inside of
Tor) requests for that hidden service name and makes outgoing connections
to the address you specify. You have to run your own application on the
port if you want something to listen there.

https://www.torproject.org/docs/tor-hidden-service

> I tried to telnet to it both
> from localhost and a remote machine and it's failed.

Makes sense -- it sounds like you aren't running anything on that port.

--Roger



More information about the tor-talk mailing list