Connection between host (<fqdn of the esxi>, ######-a###-45e8-8##7-######256ee) and NSX Controller is UNKNOWN. Response : [] Connection between host (<fqdn of the esxi>, ######-a###-45e8-8##7-######256ee) and NSX Manager is DOWN. Please restore connection before continuing. Response : Client has not responded to {2} consecutive heartbeats. Port {1234} between Host to NSX Manager must be open, Please check underlay physical firewalls and host hypervisor firewalls for troubleshooting.
# nsxcli -c get managers
CLOSE_WAIT or TIME_WAIT or FIN_WAIT state instead of Established:# esxcli network ip connection list | grep 1234
# esxcli network ip connection list | grep 1235
NOTE: This may be expected behavior if the UUID noted in the NSX Manager error message belongs to a host Transport Node that is unprepared for NSX without fully uninstalling NSX from the host, or if the connectivity between the host and NSX Manager is otherwise intentionally interrupted. If all host Transport Nodes are expected to be up and communicating normally with NSX, then proceed to the resolution.
VMware NSX
VMware NSX-T Datacenter
# nc -zvv ###.###.### 1234
# nc -zvv ###.###.### 1235
# /etc/init.d/nsx-proxy restart
# /etc/init.d/nsx-opsagent restart
# /etc/init.d/nsx-cfgagent restart
# /etc/init.d/nsx-nestdb restart
Please refer to below KB explaining roles of each agent:
Troubleshooting NSX Host Agents