VictorBabkov
Contributor
Contributor

How change remote console port on ESXi 5

Hello all !

How  change remote console port on ESXi 5?

In oldest version recommended this way:

0. Login to the ESX host Console OS as root

1. Edit /etc/xinetd.d/vmware-authd and change the default port 902 to different port  For example: 9022

2. Edit /etc/vmware/config and change the following line as indicated   authd.client.port = "9022"

3. Restart xinetd and mgmt-vmware services by running:

     #service xinetd restart

     #service mgmt-vmware restart

But in 5.0  there is no xinetd.d directory. I change port in /etc/vmware/config and add in ESXi firewall new rule for this connection.

Now vSphere Client attempt connect to new port 9022, but ESXi still listen on port 902.

esxcli network ip connection list

...

0.0.0.0:902  Listening

...

How change this?

4 Replies
yezdi
Virtuoso
Virtuoso

did you restart hostd after editing config file?

/etc/init.d/hostd restart 

0 Kudos
VictorBabkov
Contributor
Contributor

Yes, I restart hostd and restart ESXi but still listening port 902. Client remote console attempt connect to new port 9022.

0 Kudos
stevem12t2
Contributor
Contributor

same issue can't change the default 902 port to an alternate and get esxi server to listen on that port. Anyone resolve this?

cgeorgia
Contributor
Contributor

Same here. isn't there a way to change it ?

Regards,

0 Kudos