| Author |
Identifying application binding to port
|
|
| Adam Smith 2004-06-11, 12:03 am |
| I am installing an application requiring a bind to a < 1000 port on a
UNIX system. Apparently some other app is binding there already, how can
I identify the "blocker" at this port?
Thanks
-- Adam --
| |
| David Dorward 2004-06-11, 5:46 pm |
| Adam Smith wrote:
> I am installing an application requiring a bind to a < 1000 port on a
> UNIX system. Apparently some other app is binding there already, how can
> I identify the "blocker" at this port?
netstat -l -p
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
| |
| David Efflandt 2004-06-20, 11:13 pm |
| On Thu, 10 Jun 2004 18:43:14 -0700, Adam Smith <adamsmith@econ.com> wrote:
> I am installing an application requiring a bind to a < 1000 port on a
> UNIX system. Apparently some other app is binding there already, how can
> I identify the "blocker" at this port?
> Thanks
See the -i switch of 'man lsof'.
--
David Efflandt - All spam ignored http://www.de-srv.com/
| |
| Adam Smith 2004-06-20, 11:13 pm |
| Thanks David
but ==>
mach1# man lsof
No manual entry for lsof
mach1# man 1sof
No manual entry for 1sof
mach1#
<==
Have I missed something here. OS Freebsd 4.9
David Efflandt wrote:
> On Thu, 10 Jun 2004 18:43:14 -0700, Adam Smith <adamsmith@econ.com> wrote:
>
>
>
> See the -i switch of 'man lsof'.
>
| |
| dpuryear@usa.net 2004-06-20, 11:13 pm |
| On Mon, 14 Jun 2004 08:19:09 -0700, Adam Smith <adamsmith@econ.com>
wrote:
>Thanks David
>but ==>
>
>mach1# man lsof
>No manual entry for lsof
>mach1# man 1sof
>No manual entry for 1sof
>mach1#
lsof is in ports as far as I know. Anyway, on FreeBSD you can just do
'sockstat -ln4'.
---
Puryear Information Technology, LLC
Baton Rouge, LA
225-343-3056
http://www.puryear-it.com
Author of "Best Practices for Managing Linux and UNIX Servers"
Download your free copy:
http://www.puryear-it.com/bestpractices_ebook.htm
|
|
|
|