Yesterday I installed VMware View into my home lab and configured everything successfully. What I discovered was that my router could not do was any Network Address Port Translation (NAPT) so I could not redirect the external IP port 444 to the internal server IP port of 443. I run a web server on port 443 so could not use this external port for View Connection Server. So how do I change the IP Port on the View Connection Server itself?
After googling some scenarios I found a link to this page on myvirtualcloud.net. This is an excellent article, however it only covers View 4.0.x. In View 5.0 there is no locked.properties file in View 5.0, only config.properties and settings.properties. The article above recommends changing the entry “serverPort=xx” in locked.properties however there is no entry for this in either of these files. Hmmmm what to do…
In the example below you can quite clearly see that the configuration for the client IP port is set to 444, but there was no serverport entry and telnet rightfully confirmed everything was running on port 443. I decided after some time thinking that the config.properties contents look very similar to the examples provided in the article above, so I thought I would try adding the entry to the file. A restart of the services did not result in anything working, so I re-booted the server and every thing now runs over port 444. Perfect 🙂
So to recap, to enable View Connection Manager 5.0 to use a different IP port for incoming connections you need to edit “C:Program FilesVMwareVMware ViewServersslgatewayconfconfig.properties” and add the entry “ServerPort=xxx” below “ClientPort=xxx”
Example config.properties file with the serverport entry added
#Auto-generated file, do not edit.
#Tue Nov 01 18:00:01 GMT 2011
clientHost=[your FQDN here]