Probably not an answer to your question, but what's the reason you want/need to use other ports? If you want to access the host across your router (i.e. using the same external IP address) you would usually configure port forwarding on the router where traffic to an external port is forwarded to the IP address and the internal port of the ESXi host. So there's no need to reconfigure the host.
André