Feb 18, 2019 · I wanted to see if a specific port of a desktop computer or server is open from a Linux or Unix command line shell. How do I ping a specific port? Is it possible possible to ping an 192.168.1.254:80 or 192.168.1.254:23 ports?

Ping Command in Linux | Linuxize Oct 06, 2019 Scripting How To: Ping Multiple Servers and Export Results Oct 19, 2012 How to Ping a Specific Port Number

Ping the target host once. Check if the ping succeeded (return value of ping is zero). If host is not alive, ping again. The following code can be saved as a file and called with the hostname as argument, or stripped of the first and last line and used as function within an existing script (waitForHost hostname).

Jan 25, 2010 · However, our Nagios server (which runs on CentOS Linux 5.3) cannot ping the router. Windows boxes can ping it all day long with no delays or dropped packets. Linux just flat refuses to ping the thing.

However, pinging hosts is not always sufficient : you may need to ping a specific port on your server. This specific port might be related to a database, or to an Apache web server or even to a proxy server on your network. In this tutorial, we are going to see how you can ping a specific port using a variety of different commands.

Ping Test. The very first tool I use to check if connected to internet is via ping utility. But do you … How To Ping a Specific Port Number From Command Line in Linux Oct 03, 2019 Pinging from a C/C++ program - Stack Overflow