I was using VMware Health Analyzer the other day to perform a health check at a customer site and needed to change the web port on the Thinapp version I was using. If you’re a VMware person or partner engaged in delivering these kinds of services, vHA is an excellent starting point for delivering health check services. Samir has a great write-up on it here and here.
In any case, I found the instructions for changing the port on the Virtual Potholes blog. Here’s what you need to do.
1. Start the ThinApp and let it fail. This creates a folder structure for the Tomcat instance.
2. Go to C:\users\*the user you ran the ThinApp under*\AppData\Roaming\Thinstall\*random identification string*\%drive_c%\usr\share\vha\tomcat\conf
3. Edit server.xml
4. Find ConnectorPort=”80″
5. Change 80 to whatever port number you know is free.
6. Save the changes and start the ThinApp.
7. You should see Initializing Coyote HTTP/1.1 on http-(port number you chose)
8. Access the interface from http://localhost:port
And you’re good to go.