VMware Communities
TryllZ
Expert
Expert

Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.

Hi,

This is configured in Workstation.

I have 1 Windows Server VM, 1 vCenter VM, 5 esxi VMs, 1 firewall VM.

I have 3 networks

- 1 firewall VM with the below 3 network interfaces.

- 192.168.100.0/24 (vCenter, Windows Server)

- 192.168.101.0/24 (3 esxi hosts)

- 192.168.102.0/24 (2 esxi hosts)

I'm facing this issue lately (as I have just started using firewall in the network) where the vCenter is unable to ping any esxi host and vice versa, and found the below in the logs. I'm unsure where the issue as vCenter can ping at times and after a long pause it is unable to ping, here a long time pause refers to pausing the VMs in the workstation. And this is not the 1st firewall I have come across this issue, I tried both Sophos XG and pfSense as well.

There are no special rules in the firewall, all LAN traffic is permitted. Once the firewall is restarted again then the ping works. Is there anything about the vCenter packets going to firewalls because the same time vCenter cannot ping an esxi host the windows server can ping he same esxi host.

Note that the esxi hosts are not yet added to vCenter.

2020-05-06T14:28:49.967Z warning vpxd[04990] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f791c5d6100, h:40, <TCP '127.0.0.1 : 59236'>, <TCP '127.0.0.1 : 18090'>>, e: 111(Connection refused)

2020-05-06T14:28:49.968Z error vpxd[04851] [Originator@6876 sub=HostGateway] [CisConnection]: ComponentManager->LoginByToken failed: Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.

2020-05-06T14:28:49.968Z warning vpxd[04851] [Originator@6876 sub=HostGateway] State(ST_CM_LOGIN) failed with: Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.

2020-05-06T14:28:50.028Z warning vpxd[04904] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f78f03c2d00, h:42, <TCP '127.0.0.1 : 59244'>, <TCP '127.0.0.1 : 18090'>>, e: 111(Connection refused)

2020-05-06T14:28:50.029Z error vpxd[04851] [Originator@6876 sub=HostGateway] [CisConnection]: ComponentManager->LoginByToken failed: Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.

2020-05-06T14:28:50.029Z warning vpxd[04851] [Originator@6876 sub=HostGateway] State(ST_CM_LOGIN) failed with: Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.

2020-05-06T14:28:50.068Z warning vpxd[04832] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f791c5c26c0, h:42, <TCP '127.0.0.1 : 59246'>, <TCP '127.0.0.1 : 18090'>>, e: 111(Connection refused)

2020-05-06T14:28:50.068Z error vpxd[04851] [Originator@6876 sub=HostGateway] [CisConnection]: ComponentManager->LoginByToken failed: Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.

2020-05-06T14:28:50.068Z warning vpxd[04851] [Originator@6876 sub=HostGateway] State(ST_CM_LOGIN) failed with: Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.

2020-05-06T14:28:50.102Z warning vpxd[04821] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f78e831d150, h:42, <TCP '127.0.0.1 : 59248'>, <TCP '127.0.0.1 : 18090'>>, e: 111(Connection refused)

2020-05-06T14:28:50.102Z error vpxd[04851] [Originator@6876 sub=HostGateway] [CisConnection]: ComponentManager->LoginByToken failed: Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.

2020-05-06T14:28:50.102Z warning vpxd[04851] [Originator@6876 sub=HostGateway] State(ST_CM_LOGIN) failed with: Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.

Thanks.

Reply
0 Kudos
2 Replies
TryllZ
Expert
Expert

I came to notice this issue is in Workstation and not the VMs and occurs when the VMs are paused, specifically firewalls as I tried 2 of them.

In both cases the firewalls would not attain connectivity until I restarted them.

Any thoughts on how to solve this.

Reply
0 Kudos
markatvmw
Contributor
Contributor

This issue is not only in Workstation.  We are experiencing the same issue in our production 6.7 environments.  Still working on troubleshooting the issue and hopefully will have a resolution soon.

2023-01-25T22:24:07.206Z warning vpxd[64134] [Originator@6876 sub=HostGateway] State(ST_CM_LOGIN) failed with: Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.

We have tried turning HA off, then back on again, but the error persists.  I will update here when a solution is found.

Reply
0 Kudos