Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 2004 12:01:23 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        jason-dusek@uiowa.edu
Cc:        "Questions@BSD" <freebsd-questions@freebsd.org>
Subject:   Re: Mystery Ports
Message-ID:  <40B21C53.4030207@potentialtech.com>
In-Reply-To: <40B21868.5080104@cs.uiowa.edu>
References:  <40B21868.5080104@cs.uiowa.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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