To check the open ports
netstat -an | grep -i listen
netstat -an | grep <port number>
To find out the files which is using particular protocol on ports
lsof -i :"port no"
Example : lsof -i :513
To find out the process which is using particular ports
lsof -nP -i "port no"
Example : lsof -nP -i tcp:2100
netstat -an | grep -i listen
netstat -an | grep <port number>
To find out the files which is using particular protocol on ports
lsof -i :"port no"
Example : lsof -i :513
To find out the process which is using particular ports
lsof -nP -i "port no"
Example : lsof -nP -i tcp:2100
3 Comments
1FAD47F4
ReplyDeleteForum
Forum
Forum
Forum
Forum
Forum
Forum
Forum
Forum
286BB658
ReplyDeleteManisa
Kütahya
Maraş
Erzincan
Çorum
Aydın
Çanakkale
Yalova
Artvin
852A2B91
ReplyDeleteBayraklı
Çiğli
Eşme
Karatay
Çubuk
Viranşehir
Çarşamba
Erdemli
Odunpazarı