When testing Enhanced Replication connection within VMware Live Recovery, the following symptoms may occur:
Unable to connect to vSphere Replication Management Server. Details: "java.net.ConnectException: Connection refused"VMware Live Recovery, vSphere Replication 9.0.2.x
This issue is typically caused by a transient service state inconsistency in the vSphere Replication Management (HMS) service or the HBR (Host-Based Replication) agent. In version 9.0.2.x, the management service may fail to properly initialize the handshakes required for Enhanced Replication, leading to a hang in the validation phase or a failure to listen on management ports after a reboot.
Refer the workaround part in Unable to connect to vSphere Replication Management Server: Connection Refused
Establish an SSH session to the appliance and log in as root.
Stop the HMS service: systemctl stop hms
Open the configuration file for editing: vi /opt/vmware/hms/conf/hms-configuration.xml
Locate the schedule-health-checks section and modify the value to false: <schedule-health-checks>false</schedule-health-checks>
Save and close the file.
Wait approximately 2 minutes to allow the operating system to clear the leaked socket state.
Start the HMS service: systemctl start hms