Using telnet from the VMware 5.x and 6.x ESXi shell: use nc
Posted by jpluimers on 2020/08/03
The short answer is: you can’t use telnet. But you can use alternatives, obviously. For instance, to troubleshoot some iSCSI connectivity problems, you would be used to doing something as this. ~ # telnet 10.0.2.3 3260 -ash: telnet: not found Instead, you can use netcat to test the connectivity. ~ # nc -z 10.0.2.3 3260 […]
Source: [Archive.is/WayBack] Using telnet from the VMware 5.x ESXi shell
The VMware knowledgebase mentions a few other alternatives as well (of which telnet obviously does not work):
- [WayBack] Using Curl to test port connectivity in VMware vCenter Server Appliance (2097039)
- [WayBack] Troubleshooting network and TCP/UDP port connectivity issues on ESX/ESXi (2020669)
- ping/vmkping to troubleshoot network connectivity between two servers.
- telnet to troubleshoot TCP port connectivity.
- netcat (nc) to troubleshoot TCP port connectivity.
- openssl to troubleshoot SSL port connectivity and verify SSL certificate information.
- tcpdump and tcpdump-uw to collect packet traces to troubleshoot network issues.
- netstat and esxcli network to view active TCP/UDP connections to the host.
–jeroen






Leave a comment