Networking Forums

Networking Forums > Computer Networking > Linux Networking > How do i find out which port numbers a specific application is using on my computer ?

Reply
Thread Tools Display Modes

How do i find out which port numbers a specific application is using on my computer ?

 
 
Lasse K. Christiansen
Guest
Posts: n/a

 
      07-03-2003, 08:58 PM
I know it is a netstat thingy ! but can't seem to find out which one !

Can anyone help me out here !

Christian
 
Reply With Quote
 
 
 
 
signuts
Guest
Posts: n/a

 
      07-03-2003, 09:11 PM
On Thu, 03 Jul 2003 22:58:29 +0200, Lasse K. Christiansen wrote:

> I know it is a netstat thingy ! but can't seem to find out which one !
>
> Can anyone help me out here !

To see what apps have bound to listening ports you can issue the
netstat -nltp command as root. -n (Numeric), -l (Listening), -t (TCP
connections), -p (Identify Program)

netstat -atp will listen all tcp connections and identify the program as
well.

Consult your man page for other flags as well.

>
> Christian


--
Sig
Thu Jul 3 17:09:02 EDT 2003

 
Reply With Quote
 
Nick Austin
Guest
Posts: n/a

 
      07-03-2003, 09:47 PM
On Thu, 03 Jul 2003 22:58:29 +0200, Lasse K. Christiansen wrote:

> I know it is a netstat thingy ! but can't seem to find out which one !


Check out lsof... To find whats listening on port 80 using lsof you would
do 'lsof -i tcp:80'

Good Luck!
 
Reply With Quote
 
Bev A. Kupf
Guest
Posts: n/a

 
      07-04-2003, 01:25 AM
On Thu, 03 Jul 2003 22:58:29 +0200,
Lasse K. Christiansen ((E-Mail Removed)) wrote:
> I know it is a netstat thingy ! but can't seem to find out which one !
>


You can try `netstat -ntp` as root. Alternatively, try using `lsof` or
`fuser`.

Bev

--
Bev A. Kupf
Bev's House of Pancakes
 
Reply With Quote
 
 
 
Reply

Thread Tools
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MN-100 Application port trigger vs port mapping Nikitas Broadband Hardware 0 11-12-2004 02:41 AM
Decoding Port Numbers Kerry Broadband Hardware 1 10-02-2004 11:25 AM
What port numbers and type (TCP or UDP) do I need to open for VPN Spin Windows Networking 9 09-17-2004 11:27 PM
How do you ping a server to find out if it is listening on a specific port Matt Windows Networking 1 12-01-2003 06:02 PM
Private and public port numbers Fred Hervieux Windows Networking 1 10-26-2003 12:27 AM



1 2 3 4 5 6 7 8 9 10 11