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:
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:
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:
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