Articles in this section

How to test network connectivity to a server?

Context

Often the need arises to check  if a client (or XDR) is able to connect to an endpoint/destination. This can easily be done with the netcat tool that should be available on most Linux flavors. 

Method

Run netcat with the destination IP address and port number:

netcat -zv <DESTINATION_IP_ADDRESS>  <DESTINATION_PORT_NUMBER>

example:
 
root@testme-2:/# nc -zv 172.17.0.2 3000
Connection to 172.17.0.2 3000 port [tcp/*] succeeded!


 

Notes


Applies To Earliest Version

Pre 4.9

Applies To Latest Version

Current Version
Was this article helpful?
0 out of 0 found this helpful