Posts

Showing posts from April, 2014

Check if a port is open and is listening in Linux.

1.  lsof -i :<port>  (Takes seconds) 2.  netstat -an |grep <port> |grep LISTEN  (Takes seconds) 3.  telnet  <Server Ip> <port>