who uses this port?

Barney Wolff barney at databus.com
Thu Nov 5 15:00:48 UTC 2015


On Thu, Nov 05, 2015 at 09:45:38AM +0200, Andriy Gapon wrote:
> On 05/11/2015 09:20, Ben Woods wrote:
> > On Wednesday, 4 November 2015, Andriy Gapon <avg at freebsd.org
> > <mailto:avg at freebsd.org>> wrote:
> > 
> >     $ sockstat -l | fgrep 631
> >     ?        ?          ?     ?  tcp4   127.0.0.1:631   
> >          *:*
> > 
> >     $ nc -l 127.0.0.1 631
> >     nc: Address already in use
> > 
> > 
> > 
> > I'm more curious as to why sockstat gives you question marks instead of the
> > proper process details. Any ideas?
> 
> Yeah, I should have stated my question more accurately.  What you are asking is
> what I actually intended to ask.
> 
> I was debugging a problem of cupsd not being able to bind to its port after a
> restart.  Eventually I had to reboot the affected system.

Might be mountd.  I once saw it bind to the imaps port, also not good.
Forcing it on a port I don't use cured that, but I have a suspicion that
the real solution lies in the rc order.


More information about the freebsd-net mailing list