ALL
How to check a port is taken by which program on Linux
Lots of you may have encountered some error message stating that the port has been taken by another program while trying to start a program on Linux. And you would want to know which program takes the port you want to use. This post will provide some feasible ways to check out which program is taking a specific port.lsof -i:[port]lsof is the command to list open files on Linux. And if you know more about Linux you should get to know everything on Linux is a file even including network connection. Hence you can use lsof to list the network programs which are running.The -i option will...
Check whether a remote server port is open on Linux
As a system administrator or network engineer or application developer, there is a need to check whether a port on remote server is open so that you can tell whether the service under check is running or not. In this post, we would cover a few methods to check whether a remote server port is open or not on Linux.telnettelnet is the most frequently used command on both Windows and Linux to check port. The simple usage for this command is telnet [host] [port]When the port is open, the output will be like:Trying 192.168.56.160...Connected to 192.168.56.160.Escape character is '^]'.SSH-2.0-Op...