Linux Scroll

Just another WordPress.com site

Check listening port

netstat – show network status

Use netstat:

# netstat -a | grep LISTEN

-a         Show  the  state  of  all  sockets,  all  routing  table
entries,  or  all interfaces, both physical and logical.
# netstat -anp |grep :80

-a        Show  the  state  of  all  sockets,  all  routing  table
entries,  or  all interfaces, both physical and logical.
-n       Show network  addresses  as  numbers.
-p       Show the net to media tables.

Use nmap:

# nmap Hostname
Advertisements

Comments are closed.

%d bloggers like this: