From owner-freebsd-questions@FreeBSD.ORG Wed Mar 11 14:18:32 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 063948C3; Wed, 11 Mar 2015 14:18:32 +0000 (UTC) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.31.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BBDFF1DE; Wed, 11 Mar 2015 14:18:31 +0000 (UTC) Received: from [92.204.54.227] (helo=localhost) by smtprelay04.ispgateway.de with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1YVhSL-0008DB-8g; Wed, 11 Mar 2015 15:17:53 +0100 From: Christian Lask To: Matthew Seaman , freebsd-questions@freebsd.org Subject: Re: Jail with bitblee running, connection timed out In-Reply-To: <55004C8E.5050407@FreeBSD.org> References: <87vbi7zlc8.fsf@piet.i-did-not-set--mail-host-address--so-tickle-me> <55004C8E.5050407@FreeBSD.org> User-Agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/24.4.2 (x86_64-unknown-linux-gnu) Date: Wed, 11 Mar 2015 15:17:52 +0100 Message-ID: <87sidbzkhb.fsf@piet.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: bGlzdHNAZWxmc2VjaHN1bmR6d2FuemlnLmRl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 14:18:32 -0000 Matthew Seaman writes: > On 2015/03/11 13:59, 1126 (Christian Lask) wrote: >> `stockstat -l4p 6667` reveals that it is indeed listening on the jails >> IP on port 6667. In Weechat then I added a new server (localhost/6667) >> and tried to connect to it. This connection however is never established >> and times out. I do not know how to debug this properly and have no idea >> what is wrong here. Configuration of both seems pretty straightforward, >> so I don't know what I am doing wrong here. > > Jails tend not to have localhost (ie. 127.0.0.1 or ::1) addresses > accessible to them[*]. Try logging into the jail and examine the output > of 'ifconfig -a' -- compare it with what you get on the host system. I see! Thanks, I didn't know that, but that explains a lot. > If you want some processes within the same jail to be able to > communicate through a network-like protocol, then unix domain sockets > are the way to go, assuming that the software you want to run supports > them. Failing that, you'll have to use the jail's allocated IP > number(s). I will look into it. I guess, I know now where to look and how to get it running. Thanks again! --