Delivery-Date: Thu, 02 Apr 2015 20:21:16 -0400
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
	T_RP_MATCHES_RCVD autolearn=ham version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by khazad-dum.seul.org (Postfix) with ESMTPS id 839DC1E0FDB
	for <archiver@seul.org>; Thu,  2 Apr 2015 20:21:14 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 377143450A;
	Fri,  3 Apr 2015 00:21:11 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id CA80F3213E
 for <tor-talk@lists.torproject.org>; Fri,  3 Apr 2015 00:21:07 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at 
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id Z4vN3dEbYe9t for <tor-talk@lists.torproject.org>;
 Fri,  3 Apr 2015 00:21:07 +0000 (UTC)
Received: from khazad-dum.seul.org (khazad-dum.csail.mit.edu [128.31.0.47])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "moria.seul.org", Issuer "moria.seul.org" (not verified))
 by eugeni.torproject.org (Postfix) with ESMTPS id AD47B2BA05
 for <tor-talk@lists.torproject.org>; Fri,  3 Apr 2015 00:21:07 +0000 (UTC)
Received: by khazad-dum.seul.org (Postfix, from userid 501)
 id 362811E0FDB; Thu,  2 Apr 2015 20:21:04 -0400 (EDT)
Date: Thu, 2 Apr 2015 20:21:04 -0400
From: Roger Dingledine <arma@mit.edu>
To: tor-talk@lists.torproject.org
Message-ID: <20150403002104.GF8172@moria.seul.org>
References: <551DD6D0.8030906@cpunk.us>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <551DD6D0.8030906@cpunk.us>
User-Agent: Mutt/1.5.20 (2009-12-10)
Subject: Re: [tor-talk] Tor isn't opening a listening port...
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

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

-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

