Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 2009 11:06:57 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-questions@FreeBSD.ORG, fbsd@bomgardner.net
Subject:   Re: FBSD 7.2 - ports blocked but no firewall
Message-ID:  <200910070906.n9796vWU007699@lurza.secnetix.de>
In-Reply-To: <20091006214115.M53910@brightstar.bomgardner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Gene <fbsd@bomgardner.net> wrote:
 > On Tue, 6 Oct 2009 11:05:19 -0700, Chris Cowart wrote
 > > Gene wrote:
 > > > I'm running 7.2 GENERIC and installed the unrealirc port. I've started it up 
 > > > and can connect from localhost just fine. But when attempting to connect from 
 > > > the outside world (eg. from another box on the lan) I get connection refused.
 > > > 
 > > > I've tried both with and without ipfilter running (with appropriate rule).
 > > > Other ports are reachable including a non-standard port used for ssh.
 > > > 
 > > > The question: Could there be any reason that port 6667 might be blocked? 
 > > > (Unrealircd questions can be taken up elsewhere).
 > > 
 > > It's possible you've configured Unrealircd to only listen on 
 > > localhost and not on "*".
 > > 
 > > Look for something like:
 > > 
 > > | listen         *:6697
 > > | {
 > > |     ...
 > > | };
 > > 
 > > And make sure it's "*" and not "127.0.0.1".
 > 
 > Checked and it's correct.

Please check the output from this command:

sockstat -l | grep :6667

It will tell you if the daemon is listening on localhost
only or on all interfaces.  This will narrow done the
cause of the problem:  If the daemon listens on localhost,
then it's a configuration problem with that daemon.
If it listens on all interfaces ("*"), then the problem
is somewhere else, e.g. a packet filter (on the server or
client side, or somewhere between), or maybe a typo when
starting the client (wrong port number or address).

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"We will perhaps eventually be writing only small modules which are identi-
fied by name as they are used to build larger ones, so that devices like
indentation, rather than delimiters, might become feasible for expressing
local structure in the source language." -- Donald E. Knuth, 1974



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910070906.n9796vWU007699>