Vmware

Learn How To Use The Netcat Tool In VMware ESXi To Check The Status Of Network Ports

Want create site? Find Free WordPress Themes and plugins.

When it comes to Troubleshoot Network Problems, the ability to use the TCP / UDP port status checking tools is your key skills as an administrator. In this tutorial, we'll teach you the netcat tool for examining the status of ports in VMware ESXi.

Netcat tool in VMware CLI

Suppose we are going to examine the status of the TCP port 80 for communication with the server with the IP address 192.168.1.5. It's enough to use the netcat tool. Of course Syntax here is different from the name of the tool. To do this, we can type the command as follows:

nc -z 192.168.1.5 80

Note that the letter z means that we do not intend to send any data, and we just want to know what the port is in. As seen, Connection is established.

But what if the port we are looking for is UDP? For example, the 902 UDP port is used for heartbeats between vCenter and ESXi.

In this case, follow the example below:

As you can see, the UU-switched port was converted to UDP only by adding the -u switch.

In the end, it should be noted that if the desired port is not active and the connection is not established, then, as in the image below, no response will be received! (Check the port 910 for instructions on what happened afterwards)

Please share it on social networks if this is useful to you.

Did you find apk for android? You can find new Free Android Games and apps.

Sabir Hussain Soomro
About Sabir Hussain Experienced IT Specialist with a history of working in the information technology and services industry. Skilled in VMware ESX, Domain Name System (DNS), DHCP, VoIP, Water Backup Solutions, Adobe Connect, Servers, and Data Center. but quickly found a large following of readers and subscribers. Connect on: Google + or Feel free to network via Twitter.@VMGate110
http://www.VMGate.com