先开启ssh服务 root登录后
1.修改http端口配置文件
vi /etc/vmware/rhttpproxy/config.xml
找到<proxy>修改内容
<proxy>
<!-- default location of the proxy config file -->
<endpoints>/etc/vmware/rhttpproxy/endpoints.conf</endpoints>
<!-- HTTP port to be used by the reverse proxy -->
<httpPort>80</httpPort>
<!-- HTTPS port to be used by the reverse proxy -->
<httpsPort>443</httpsPort>
</proxy>
修改为
<proxy>
<!-- default location of the proxy config file -->
<endpoints>/etc/vmware/rhttpproxy/endpoints.conf</endpoints>
<!-- HTTP port to be used by the reverse proxy -->
<httpPort>81</httpPort>
<!-- HTTPS port to be used by the reverse proxy -->
<httpsPort>444</httpsPort>
</proxy>
2.关闭esxi防火墙
[root@localhost:~] esxcli network firewall set --enabled false
[root@localhost:~] esxcli network firewall get
Default Action: DROP
Enabled: false
Loaded: true
3.重启服务器
网友评论