The PID and name of the program to which socket belongs
7,008
Solution 1
Have you tried with lsof?
lsof -i TCP:33363
lsof -i UDP:35661
Solution 2
Did you run netstat -tulp
as root
?
Related videos on Youtube
Author by
user14241
Updated on September 17, 2022Comments
-
user14241 over 1 year
Using 'netstat -tulp' on my server box running under CentOS I have discovered strange listening ports 33363 (TCP) and 35661 (UDP). The thing is that 'PID/Program name' field for these ports contains nothing (dash actually). 'fuser -n tcp 33363' shows nothing. I have checked my box with chkrootkit and rkhunter utilities and it seems everything is O.K. Does anybody know what these sockets can be used for?
-
user14241 almost 15 yearsThanks for reply! Like 'fuser' 'lsof' gives an empty output.
-
scetoaux almost 15 yearsPretty weird... You can also try to trace the pid and see if it shows something interesting: strace -p <PID>
-
innaM almost 15 yearsCould have been the reason for the missing pid. You never know ;-)
-
innaM almost 15 yearsWhat PID, Fran?
-
scetoaux almost 15 yearsDoh! True, we do not know the pid. Thanks for pointing it out Manni :)
-
guettli about 7 yearsUnfortunately
lsof
seems to usable only by root. My process is running as user "foo". I am user "foo", can get no results. Stragen. The toolnestat
shows the open ports.