Symptoms:
Failed to deploy OVF package. ThrowableProxy.cause A general system error occurred: Transfer failed: Error during transfer of ds:///vmfs/volumes/datastore/vmfolder/vm1.vmdk: Cannot connect to host..
2022-10-05T16:45:38.195+08:00 info vpxd[42107] [Originator@6876 sub=Default opID=6b376cbe-####-####-####-########406-5d-fa] [VpxLRO] -- ERROR task-27880 -- nfcManager -- nfc.NfcManager.copy: vim.fault.HostCo
nnectFault:
--> Result:
--> (vim.fault.HostConnectFault) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = <unset>
--> msg = "Cannot connect to host."
--> }
--> Args:
-->
--> Arg spec:
--> (nfc.CopySpec) [
--> (nfc.CopySpec) {
--> source = (nfc.CopySpec.Location) {
--> filePath = "/vmfs/volumes/datastore//contentlib-db48377d-####-####-####-########4c0/1d2ae76e-####-####-####-########c0f/TEST-VM8-1_26783ca4-####-####-####-########727.vmdk",
--> cnxSpec = (nfc.CopySpec.CnxSpec) {
--> host = "Source ESXi IP",
--> port = 902,
--> },
--> destination = (nfc.CopySpec.Location) {
--> filePath = "/vmfs/volumes/datastore/vmfolder/vm1.vmdk",
--> cnxSpec = (nfc.CopySpec.CnxSpec) {
--> host = "Destination ESXi IP",
--> port = 902,
2022-10-05T16:45:38.332+08:00 | ERROR | 6b376cbe-####-####-####-########406 | transferService-pool-7-thread-99 | TransferEndpointImpl | Session 440a2893-####-####-####-########fdc, Item TEST-VM8-1.vmdk, Endpoint ds:///vmfs/volumes/datastore/vmfolder/vm1.vmdk: Error during transfer of ds:///vmfs/volumes/datastore/vmfolder/vm1.vmdk: Cannot connect to host.
This issue occurs if TCP port 902 is not open between the source and destination ESXi hosts.