8
1
Is there a way to determine what program is listening to some port, TCP or UDP, in Linux?
8
1
Is there a way to determine what program is listening to some port, TCP or UDP, in Linux?
5
netstat -lp
is the command you want, but you need to be root to see all the data.
2
ss -tlp
Quicker than netstat.
nice.. i didnt know about this command.. – Abhijeet Rastogi – 2010-01-22T13:12:32.980
1
Already answered, but if it's on a system you don't have a shell on, running nmap -sV -p <port number> <target>
will often give you the answer. Add -sU
if scanning a UDP port.
I know about nmap... anyway, I didn't wrote it in question, so +1. – whitequark – 2010-01-24T17:33:00.927
Thanks. Didn't thought about reading
netstat
docs... – whitequark – 2010-01-21T15:46:52.997