Change LiveUpdate Administrator ports

book

Article ID: 177407

calendar_today

Updated On:

Products

Endpoint Protection

Issue/Introduction

You need to change the port(s) LiveUpdate Administrator (LUA) uses.

Resolution

Change ports during installation

The LUA installer performs checks for each required port and prompts when these ports are not available. The installer prompts for a non-default port for each default port already in use. Provide an non-default port when prompted during the installation process.

To confirm the

Change ports after installation

Follow the steps below to configure LUA to listen on a non-default port.

Note: Before making any changes, confirm the new port is not used by another application.

Check for open ports

  1. Open an Administrative command prompt window
  2. Enter the following command:
    netstat -ab | find "<port>"
  3. If the command returns any connections as LISTENING, this port is already in use on the computer

Configure LUA HTTP port

  1. Stop the LUA Apache Tomcat service
  2. Make a copy of server.xml (C:\Program Files (x86)\Symantec\LiveUpdate Administrator\tomcat\conf\server.xml by default), and open the original in a text editor
  3. Modify the line
    <Connector port="7070" maxHttpHeaderSize="8192"
    to
    <Connector port="<custom port>" maxHttpHeaderSize="8192"
  4. Save server.xml
  5. Start the LUA Apache Tomcat service
  6. Open LiveUpdate Administrator.bat (C:\Program Files (x86)\Symantec\LiveUpdate Administrator\LiveUpdate Administrator.bat by default) in a text editor
  7. Modify the line
    start http://lua:7070/lua
    to
    start http://lua:<custom port>/lua
  8. Save LiveUpdate Administrator.bat

Update the Default LUA Distribution Centers
These steps update the Default Production Distribution and Default Testing Distribution Centers to reflect the new HTTP port from the previous steps. These modifications are not necessary for any Distribution Centers other than the default Distribution Centers.

  1. Log into the LUA server
  2. Click on Configure > Distribution Centers.
  3. For both the Default Production and Default Testing Distribution Centers:
    1. Select the distribution center and click Edit
    2. Select the local LUA server in the Locations List and click Edit
    3. On the Edit Location page:
      1. Update the Port to the new, non-default port
      2. Reenter the username and password used to authenticate to the distribution center (default: "admin",  In version 2.3.6.47 the default is: "lua",  Contact Support for default password )
      3. Click Test and confirm the test returns "Connection was successful", then click OK
    4. Click OK to return to the Distribution Centers page

Configure LUA HTTPS port

  1. Stop the LUA Apache Tomcat service
  2. Make a copy of server.xml (C:\Program Files (x86)\Symantec\LiveUpdate Administrator\tomcat\conf\server.xml by default), and open the original in a text editor
  3. Modify the line
    <Connector port="7073" maxHttpHeaderSize="8192" clientAuth="false" SSLEnabled="true"
    to
    <Connector port="<custom port>" maxHttpHeaderSize="8192" clientAuth="false" SSLEnabled="true"
  4. Start the LUA Apache Tomcat service

Configure LUA PostgreSQL port

  1. Stop the LUA Apache Tomcat, and LUA PostgreSQL services
  2. Make a copy of posgresql.conf (C:\Program Files (x86)\Symantec\LiveUpdate Administrator\pgsql\data\postgresql.conf by default), and open the original in a text editor
  3. Modify the line
    port = 7072    # (change requires restart)
    to
    port = <custom port>    # (change requires restart)
  4. Make a copy of lua.properties (C:\Program Files (x86)\Symantec\LiveUpdate Administrator\tomcat\webapps\lua\WEB-INF\classes\lua.properties by default), and open the original in a text editor
  5. Modify the line
    jdbc.url=jdbc:postgresql://localhost:7072/lua
    to
    jdbc.url=jdbc:postgresql://localhost:<custom port>/lua
  6. Start the LUA Apache Tomcat, and LUA PostgreSQL services