Mystery Ports

Bill Moran wmoran at potentialtech.com
Mon May 24 09:01:42 PDT 2004


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


More information about the freebsd-questions mailing list