From owner-freebsd-questions@FreeBSD.ORG Mon May 24 09:01:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6B6516A4CE for ; Mon, 24 May 2004 09:01:41 -0700 (PDT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7177343D46 for ; Mon, 24 May 2004 09:01:41 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (pa-plum1c-102.pit.adelphia.net [24.53.179.102]) by internet.potentialtech.com (Postfix) with ESMTP id 005D169A83; Mon, 24 May 2004 12:01:25 -0400 (EDT) Message-ID: <40B21C53.4030207@potentialtech.com> Date: Mon, 24 May 2004 12:01:23 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040506 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jason-dusek@uiowa.edu References: <40B21868.5080104@cs.uiowa.edu> In-Reply-To: <40B21868.5080104@cs.uiowa.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: "Questions@BSD" Subject: Re: Mystery Ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2004 16:01:42 -0000 Jason Dusek wrote: > Hey, > > So I have some ports open (111 and 1023) and I don't know why. How do I > find out what is keeping them open? I'm told that 111 is related to nfs, > so I knocked off nfsiod but that didn't solve the problem... Two answers for two questions: First, those two ports are open because portmapper is running. See the docs on how to shut it down. Portmapper is often associated with NFS, but there are other programs that use it as well. Second, to find out what is opening a port, use "sockstat -4". -- Bill Moran Potential Technologies http://www.potentialtech.com