VMware Cloud Community
frippera2
Contributor
Contributor

Esxi 5.1 Changing default port 80 and 443

I want to change the default comunication ports 80 and 443 on my Esxi host.

I have tried:

vifs --server <hostname> --username <username> --get /host/proxy.xml <local_directory_path>/proxy.xml

But the host generates a 404 file proxy.xml not found error.

I'm running Version ESXi-5.1.0-799733-standard.


What am I missing? Has this functionality changed?

2 Replies
f10
Expert
Expert

Hi,

If you have access to the ESXi Shell using SSH or the direct console, you may edit the proxy.xml directly using vi editor to change the HTTP and HTTPS ports on the ESXi host. The proxy.xml file is located in /etc/vmware/hostd/ directory on the ESXi host.

For more information refer to VMware KB VMware KB: Changing the port used by the vSphere Client to connect directly to the ESX/ESXi host

-Arun

http://highoncloud.blogspot.in/

About VMware Virtualization on NetApp

Regards, Arun Pandey VCP 3,4,5 | VCAP-DCA | NCDA | HPUX-CSA | http://highoncloud.blogspot.in/ If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
Reply
0 Kudos
frippera2
Contributor
Contributor

Hi,

Thanks for your reply, I have looked at the VMware KB: Changing the port used by the vSphere Client to connect directly to the ESX/ESXi host

Even if i modify vifs connection as you stated I get the same error:

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vifs.pl --server ************* --username ***** --password ********** --get /etc/vmware/hostd/proxy.xml c:\temp\proxy.xml

GET https://**************/folder/etc/vmware/hostd/proxy.xml unsuccessful : 404

Not Found

Error: File can not be downloaded to c:\temp\proxy.xml.