Modifying VMware View 5.0 HTTPS port

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
pae-CertAuth=1
pae-GUID=xxxxxxx-xxxxx-xxxxx-xxxxx-xxxxx
pcoipClientIPAddress=10.10.10.10
clientHost=[your FQDN here]
pcoipClientUDPPort=4172
pcoipClientTCPPort=4172
clientPort=444
serverPort=444
pae-ClusterName=Cluster-VIEW
clientProtocol=https
pae-MsgSecPublicKey=MIHxMIG

, , , , , , , , , , ,

3 Responses to Modifying VMware View 5.0 HTTPS port

  1. Anthony Metcalf November 2, 2011 at 10:56 am #

    I like that “#Auto-generated file, do not edit.” line.

    What auto-generates it, and what happens when it re-generates?

  2. Chris Colotti November 2, 2011 at 11:52 am #

    May have been easier to upgrade your router to one that does Port translation 🙂

  3. Andrew Morgan August 28, 2013 at 1:32 pm #

    This doesnt work anymore, the service changes the file back.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright David Hill

Powered by WordPress. Designed by Woo Themes

%d bloggers like this:
Close Bitnami banner
Bitnami