Modifying proxy.xml file on ESXi


I'm trying to modify the proxy.xml via SSH on the ESXi box as I need to change the default HTTPS ports for communication.

I've got basic instructions, but I was hoping some one can fill in the gaps where I'm going wrong as I'm fairly inexperienced with VMware's CLi.

1. remote onto SSH console with Putty and logging in with Root credentials
2. run the following command: cd /etc/vmware/hostd/
3. run the follwowing command: vi proxy.xml
4. Under <ConfigRoot>, add the following line: <httpsPort>https_port_number</httpsPort>

The issue is, I am unable to save. I type :w to save, but then get an "proxy.xml file is read only" message.

Any advice on how to resolve this?

Who is Participating?
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
The FREE version is still available, you just need to Register for it!

In trial mode, it operates as the full version.

After modifying the proxy.xml file, type


don't forget the !
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Are you using the FREE version of ESXi ? (e.g. not paid any money to VMware)
granite03Author Commented:
Hi, I'm not sure. I don't believe the ESXi free version is available any more. I downloaded my ESXi direct from VMware, but it's only 60 days trial.
granite03Author Commented:
Ha, can't believe ! was all it was!

Thanks for your help.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
very good!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.