From owner-freebsd-questions Wed Jan 3 23: 1:37 2001 From owner-freebsd-questions@FreeBSD.ORG Wed Jan 3 23:01:36 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id 9D65137B400 for ; Wed, 3 Jan 2001 23:01:35 -0800 (PST) Received: from gorean.org (master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id XAA40184; Wed, 3 Jan 2001 23:01:32 -0800 (PST) (envelope-from DougB@gorean.org) Message-ID: <3A541FCC.BE6F155B@gorean.org> Date: Wed, 03 Jan 2001 23:01:32 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Tim Ayers Cc: freebsd-questions@freebsd.org Subject: Re: Connection refused to my own port References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tim Ayers wrote: > > Hello, > > 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? Fix your hosts.allow file? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message