Manuscript On Premises installs its own ElasticSearch instance and configures it to use the default port 9200. If you already have another instance of ElasticSearch running (a common example is if you’re running Team Foundation Server on the same application server), you can specify a custom port by following the steps below — one common alternative is to use port 9201, but any valid port can be used.

  1. First, stop the web server in IIS, as well as the FogBugz ElasticSearch service (under the Services app).
  2. In the registry, you’ll want to specify the new port number for nSearchPort in HKEY_LOCAL_MACHINE\SOFTWARE\Fog Creek Software\FogBugz\<your_install_directory>
  3. You’ll also need to specify that same port number for the value of HTTP traffic port in the file at <your_install_directory>\ElasticSearch\config\elasticsearch.yml — by default this would live at C:\Manuscript\ElasticSearch\config\elasticsearch.yml
  4. After updating those files, restart both the web server in IIS and the FogBugz ElasticSearch service.