Changing the Web Application Server Host Name and Port
Often you install FME Server and then need to update the web application server host name or port.
The following instructions assume the Apache Tomcat server that is bundled by default with an FME Server installation is the one currently in use.
Update Service URLs (For Updating Host Name or Port)
- Log in to the FME Server Web User Interface.
- Navigate to Services.
- Click on each service to open the Editing Service page.
- In the URL Pattern field, make the appropriate changes and click OK when done.
Update FME Server Web URL (For Updating Host Name or Port)
On the machine hosting the FME Server core:
- Open the fmeServerConfig.txt configuration file.
- Locate the FME_SERVER_WEB_URL directive and update the URL value to the new web applications server host and/or port. For example:
FME_SERVER_WEB_URL=http://MY_WEBAPP_HOST:80
Note If Topic Monitoring no longer functions after updating the host name, perform the following additional configuration:
- Open the propertiesFile.properties file for the FME Server service.
- Add the line WEB_SOCKET_SERVER_NAME=<hostname>, where <hostname> is the new host name. Optionally, add the line WEB_SOCKET_SERVER_PORT=<port>, where <port> is the new port.
- Restart FME Server.
Update the Web Application Server XML File (For Updating Port)
To update the web application server xml file (server.xml), first determine if your FME Server is configured for HTTPS traffic. Then, follow the applicable instructions:
FME Server not configured for HTTPS
- Open the server.xml file, located in <FMEServerDir>\Utilities\tomcat\conf\.
- Locate the first instance of a line that begins: <Connector port=
- Change the specified port as desired. For example, change Connector port="80" to Connector port="8080".
- Save the server.xml file.
- Restart the Tomcat application server.
FME Server configured for HTTPS
- Open the server.xml file, located in <FMEServerDir>\Utilities\tomcat\conf\.
- Locate the first instance of a line that begins: <Connector protocol=
- Change the specified port as desired. For example, change port="443" to port="4443".
- Locate the line that begins: <Connector port=
- Change the redirectPort parameter to the same port specified in the previous step. For example, change redirectPort="443" to redirectPort="4443".
- Save the server.xml file.
- Restart the Tomcat application server.
See Also