Identifying application binding to port

This is a discussion on Identifying application binding to port within the Linux Web Servers forums, part of the Web Server and Related Forums category; I am installing an application requiring a bind to a < 1000 port on a UNIX system. Apparently some other ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-11-2004
Adam Smith
 
Posts: n/a
Default Identifying application binding to port

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 --

  #2 (permalink)  
Old 06-11-2004
David Dorward
 
Posts: n/a
Default Re: Identifying application binding to port

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
  #3 (permalink)  
Old 06-14-2004
David Efflandt
 
Posts: n/a
Default Re: Identifying application binding to port

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/
  #4 (permalink)  
Old 06-14-2004
Adam Smith
 
Posts: n/a
Default Re: Identifying application binding to port

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:
>
>>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'.
>


  #5 (permalink)  
Old 06-14-2004
dpuryear@usa.net
 
Posts: n/a
Default Re: Identifying application binding to port

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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:10 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0