Meet the same error when input vCenter path
ovftool c:\hello.ovf vi://vCenterPath
There will be error like "Error: Curl error: Couldn't resolve host name"
Is there someone can help and resolve this problem?
I just met this problem when I was trying to copy a machine on VM Ware Workstation to ESXi 5. What I did was instead of connecting to the hostname of the ESXi server, I used the IP address of the server then it worked, so I would imagine if you replace that host name with IP address it might work.
Normally it happens due to incorrect username/password. Error is misleading.
I know that this thread is old, but I've had this problem.
In my case,
1) I wanted to download a Powered Off VM that lives on an ESX Server
2) Using VMware Workstation running on a PC
The ovftool used by VMware Workstation could not resolve the ESX Server by FQDN which caused the error. Even if my PC could successfully nslookup the ESX server by FQDN, cURL was not happy.
I had to add the IP/FQDN details directly in the PC's "etc/hosts" file and it worked.
That's unfortunate but that solved my issue.