Changing Web Server Port

How to change the Web Server Port used by the Endpoint Central MSP Application?

Endpoint Central MSP, by default, uses port 8040 for agent-server communication and to access the Web client. This port can be chosen during the installation of Endpoint Central MSP. If you wish to change the port after installation, follow the steps below:

  1. Stop the Endpoint Central MSP Server.
  2. Edit the websettings.conf located under <Install_Dir>\UEMS_MSPCentralServer\conf directory.
  3. Change the value of http.port (normal communication) and https.port (secured communication) to a desired port and save.
  4. Start the Endpoint Central MSP Server and connect to the Web client using the port number you have specified.

The next step is to update the Endpoint Central MSP agents with the new port number. The Endpoint Central MSP agents will contact the Endpoint Central MSP Server to pull the instructions that are available to them. Follow the steps below to update the port number in the agent that reside in the client computers:

  1. Download the configureDCAgentServerCommunication_7.txtand rename it to configureDCAgentServerCommunication_7.vbs

    Run this script from each of your remote office computers as below:

    cscript configureDCAgentServerCommunication_7.vbs <ServerName> <ServerIP> <HTTP Port> <HTTPS Port> <Protocol>

    where,

    <ServerName> refers to the DNS name of the computer where Endpoint Central MSP Server is installed
    <ServerIP> refers to the IP Address of the computer where Endpoint Central MSP Server is installed
    <HTTP Port> refers to the normal port that the agents use to contact the Endpoint Central MSP Server
    <HTTPS Port> refers to the secured port that the agents use to contact the Endpoint Central MSP Server (default is 8041).
    <Protocol> refers to the communication protocol between the agent and the server i.e. HTTP or HTTPS

    To execute the script on multiple computers, run the script from each of your branch offices as below:

    1. Create a network share (eg. \\MyServer\MyShare).
    2. Download the script configureDCAgentServerCommunication_7.txt.
    3. Rename it to configureDCAgentServerCommunication_7.vbs. Save the vb script in the network share created in step 1
    4. Download the PsExec utility from http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx and save it in, for example, C:
    5. Run the script using the following command from the dos prompt

      C:\for /f %f in (c:\computernames.txt) do psexec \\%f -u <domain>\administrator -p <password> CSCRIPT \\MyServer\MyShare\configureDCAgentServerCommunication_7.vbs <ServerName> <ServerIP> <HTTP Port> <HTTPS Port> <Protocol>

      where,

      computernames.txt contains a list of computers where you need to install the agent, which has to be specified with its complete path
      <domain> refers to the domain or the workgroup name
      <password> refers to the domain or the workgroup administrator password
      <ServerName> refers to the DNS name of the computer where Endpoint Central MSP Server is installed
      <ServerIP> refers to the IP Address of the computer where Endpoint Central MSP Server is installed
      <HTTP Port> refers to the normal port that the agents use to contact the Endpoint Central MSP Server
      <HTTPS Port> refers to the secured port that the agents use to contact the Endpoint Central MSP Server
      <Protocol> refers to the communication protocol between the agent and the server i.e. HTTP or HTTPS

Remote Desktop & Mobile Device Management Software for MSPs trusted by