Saturday 16 June 2012

Verifying Which Ports Are Listening centos

1: access your server and type the commands

nmap -sT -O localhost
 
 
if nmap is not installed then first installed the nmap utility and then run the command again
 
yum install nmap


2: cat /etc/services | grep 834
 
3: netstat -anp | grep 4444
 
4: lsof -i | grep 834
 
hope this will help some one. 


regards:
imran 
CTO www.wdnec.com

No comments:

Post a Comment