From owner-freebsd-net Mon Sep 7 02:24:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA14540 for freebsd-net-outgoing; Mon, 7 Sep 1998 02:24:23 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from shell6.ba.best.com (shell6.ba.best.com [206.184.139.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA14535 for ; Mon, 7 Sep 1998 02:24:22 -0700 (PDT) (envelope-from jkb@best.com) Received: from localhost (jkb@localhost) by shell6.ba.best.com (8.9.0/8.9.0/best.sh) with SMTP id CAA06674; Mon, 7 Sep 1998 02:24:11 -0700 (PDT) X-Authentication-Warning: shell6.ba.best.com: jkb owned process doing -bs Date: Mon, 7 Sep 1998 02:24:10 -0700 (PDT) From: "Jan B. Koum " X-Sender: jkb@shell6.ba.best.com To: Graeme Brown cc: "FreeBSD-Net (FreeBSD.Org) List" Subject: Re: How to find which application is using a given UDP port In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Look again: % netstat -a Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 0 rafraf.1342 shell6.ba.best.c.ssh ESTABLISHED tcp 0 0 *.6000 *.* LISTEN udp 0 0 *.syslog *.* ^^^ You can also just "netstat -an | grep udp" :) -- Yan I don't have the password + Jan Koum But the path is chainlinked | Spelled Jan, pronounced Yan. There. So if you've got the time | Web: http://www.best.com/~jkb Set the tone to sync + OS: http://www.FreeBSD.org On 7 Sep 1998, Graeme Brown wrote: >Dear List > >Can anyone enlighten me as to how I can find out which >applications are using a given UDP port ? > >netstat -a > >does not appear to do this. > >I have a problem where an application gives an error message >"port sharing violation". > >TIA > >Graeme N Brown >BT Laboratories, UK >email : graeme.brown@bt-sys.bt.co.uk > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message