With Netcat
-z: Port scanner mode (zero I/O mode); only listening services are scanned (no data is sent)
-v: Extensive output (e.g. responsible for the display and scope of displayed fault messages)
nc -z -v [Destination IP] [port]
Witch esxcli / net-stats
Get PortNum with net-stats
net-stats -l
Get statistics with esxcli
esxcli network port stats get -p <PortNum>
Sources and useful links
https://www.ionos.com/digitalguide/server/tools/netcat/
ESXi Network Troubleshooting Tools