Skip site navigation (1)Skip section navigation (2)
Date:      04 Jan 2001 07:43:31 -0600
From:      Tim Ayers <tayers@bridge.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Connection refused to my own port
Message-ID:  <hf3ftou4.fsf@tim.bridge.com>
In-Reply-To: Doug Barton's message of "Wed, 03 Jan 2001 23:01:32 -0800"
References:  <r92s35jj.fsf@tim.bridge.com> <3A541FCC.BE6F155B@gorean.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "D" == Doug Barton <DougB@gorean.org> writes:
D> Tim Ayers wrote:
>> I have written a simple C echo server that accepts a connection and
>> echoes back whatever is sent to it. This works fine if I connect
>> from the same machine or a machine on the same subnet as the server
>> machine. But if I try to connect from a machine outside the subnet I
>> get a "Connection refused" message.  How can I allow connections to my
>> "custom" port from outside my subnet?

D> 	Fix your hosts.allow file?

Thanks for the reply. I think my hosts.allow file is okay. Or more
accurately I think my hosts.allow file is not the problem. It has 

ALL : ALL : allow

as the first line. My understanding is that it should not be denying
anything, right? I also confirmed that my inetd is started with '-wW',
which I believe is necessary for the hosts.allow file to be used. I'm
definitely stumped at the moment, but that's not too surprising since
I don't know much about FreeBSD. :-/

One other tidbit is that in my inetd.conf I only have the ftp and
telnet entries uncommented. All other services are commented
out. Maybe something else takes care of this? Thanks a lot for the
help. 

Hope you have a very nice day, :-)
Tim Ayers (tayers@bridge.com)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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