You are here: FME Server Administrator's Guide > Common Configurations > Changing the Hostname and Web Application Server Port

Changing the Hostname and Web Application Server Port

Often you install FME Server and then need to update the hostname or web application server port. To change the hostname and/or web application server port used by FME Server, you must modify a few configuration files and the FME Server Services definitions. It’s important to know that there may be more than one location in each file where the hostname needs to change. Using the find and replace feature in a text editor may provide an easy way to ensure all instances are updated.

FME Server Services

To change the hostname used by FME Server, you need to update the service’s URL patterns. To use the web user interface to do this, follow these steps.

  1. Navigate to the FME Server Web User Interface http://<host>/fmeserver.
  2. Log in and click Services on the left-hand side.
  3. In the URL Pattern field, make the appropriate changes and click OK when done.

FME Server

Modify the <host> values in the following files:

<FMEServerDir>\Server\processMonitorConfig.txt

CMDStartFMEEngine_1="C:\\Program Files\\FMEServer\\Server\\fme\\ FMEEngine.exe" REGISTER_SOCKET <host> 7070 "C:\\Program Files\\FMEServer\\Server\\fmeEngineConfig.txt"|log|attempts=5

You will need to repeat this for each FME Engine you are running. There is a CMDStartFMEEngine_n block of text for each Engine.

<FMEServerDir>\Server\stop\Server.bat

"<FMEServerDir>\Server\..\Utilities\jre\bin\java.exe" -Xrs COM.safe.processwatcher.SDShutdownAgent <host> 7500 %ADMIN_PASSWORD% MainApplication

Safe Software Inc. www.safe.com