Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2005 17:17:16 +0100
From:      cpghost@cordula.ws
To:        Brian Henning <henninb@gmail.com>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: port process
Message-ID:  <20050104161716.GA32455@bsdbox.farid-hajji.net>
In-Reply-To: <47f8d9310501040807598aa18c@mail.gmail.com>
References:  <47f8d9310501040807598aa18c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 04, 2005 at 10:07:00AM -0600, Brian Henning wrote:
> Hey,
> 
> I have a xvfb process that needs a network port (6112 I think), but
> there is a process already using the port. The problem is that I don't
> know what the process is that is using it. Is there a way in unix to
> tell what process is using a specific network port.

$ sockstat -46 | grep ':6112'

> Thanks,
> 
> H

Cheers,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



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