On Linux we have a service running which is listening on port 9999 but when we try to check it from a Windows machine on same network with PING it says :
Ping request could not find host 10.32.9.82:9999
while when I tried using telnet like
telnet 10.32.9.82 9999
and Telnet got connected successfully.
So what I am trying to understand that why the telnet worked but does PING not as the service is listening on the IP and port on TCP.
Best Answer
You can't ping a port number (ping says that the device is reachable, nothing more).
But you can use something like this powershell cmdlet instead: Test-NetConnection
You'll get an output like that, note that the output shows if Ping succeeded, and if the port is reachable, that's two different things !