Skip to content

Commit 44536dc

Browse files
committed
Troubeleshoot host connection issue
1 parent 7801f63 commit 44536dc

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

articles/migrate/troubleshoot-changed-block-tracking-replication.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,31 @@ This error occurs when the size of the snapshot file created is larger than the
319319

320320
- Restore the included disks to the original path using storage vMotion and try replication again.
321321

322+
## Host Connection Refused
323+
324+
**Error ID:** 1022
325+
326+
**Error Message:** The Azure Migrate appliance is unable to connect to the vSphere host '%HostName;'
327+
328+
**Possible Causes:**
329+
330+
This may happen if:
331+
1. The Azure Migrate appliance is unable to resolve the hostname of the vSphere host.
332+
2. The Azure Migrate appliance is unable to connect to the vSphere host on port 902 (default port used by VMware vSphere Virtual Disk Development Kit), because TCP port 902 is being blocked on the vSphere host or by a network firewall.
333+
334+
**Recommendations:**
335+
336+
**Ensure that the hostname of the vSphere host is resolvable from the Azure Migrate appliance.**
337+
- Login to the Azure Migrate appliance and open PowerShell.
338+
- Perform an `nslookup` on the hostname and verify if the address is being resolved: `nslookup '%HostName;' `.
339+
- If the host name isn't getting resolved, ensure that the DNS resolution of the vSphere hostnames can be performed from the Azure Migrate appliance. Alternatively, add a static host entry for each vSphere host to the hosts file(C:\Windows\System32\drivers\etc\hosts) on the appliance.
340+
341+
**Ensure the vSphere host is accepting connections on port 902 and that the endpoint is reachable from the appliance.**
342+
- Login to the Azure Migrate appliance and open PowerShell.
343+
- Use the `Test-NetConnection` cmdlet to validate connectivity: `Test-NetConnection '%HostName;' -Port 902`.
344+
- If the tcp test does not succeed, the connection is being blocked by a firewall or is not being accepted by the vSphere host. Resolve the network issues to allow replication to proceed.
345+
346+
322347
## Next Steps
323348

324349
Continue VM replication, and perform [test migration](./tutorial-migrate-vmware.md#run-a-test-migration).

0 commit comments

Comments
 (0)