Retired products

Changing the port that DLM Dashboard uses

By default, DLM Dashboard runs on port 19528. To run DLM Dashboard on a different port:

  1. Open a text editor, running as administrator (right-click and select Run as administrator):


  2. Create a new file and save it as UserSettings.config in the folder C:\Program Files (x86)\Red Gate\DLM Dashboard 1\WebServer\bin\Release
    If this folder doesn't exist, save the file in C:\Program Files (x86)\Red Gate\SQL Lighthouse 1\WebServer\bin\Release
  3. In the file, copy and paste the following:

    <?xml version="1.0" encoding="utf-8"?>
    <appSettings>
        <add key="Owin.Urls" value="http://*:80/" />
    </appSettings>
  4. Edit the value of Owin.Urls to the hostname and port you want to use.
    You can use the wildcard * to access DLM Dashboard on any hostname:

    <add key="Owin.Urls" value="http://*:80/" />

    You can restrict access to DLM Dashboard to the local machine:

    <add key="Owin.Urls" value="http://localhost:80/" />

    You can access DLM Dashboard on multiple addresses by separating them with spaces:

    <add key="Owin.Urls" value="http://localhost:80/ http://dashboard:8080/" />
  5. Open a command prompt window (cmd.exe) running as administrator.
    To do this, right-click on the Start menu entry and select Run as administrator:
      
  6. Run the following command, replacing the URL with the URL you added to the config file:

    netsh http add urlacl url="http://*:80/" user="NT SERVICE\RedGate.SQLLighthouse.WebServer"

    If you added multiple URLs, run the command again for each URL. 

  7. Open Windows Services (services.msc) and restart the DLM Dashboard Web Server service.

Once the web server has restarted, you should be able to access DLM Dashboard on the hostname and port you entered.


Didn't find what you were looking for?