Change the agent port to match the open port on the SolarWinds Platform server
This topic applies only to the following SolarWinds Platform products:
SolarWinds Observability Self-Hosted
DPAIM — LA — NAM — NPM — SAM — SCM — SRM — VMAN*
This only applies to agents in agent-initiated communication mode.
Agents connect to port 17778 on the SolarWinds Platform server or Additional Polling Engine by default. You must change the messaging port on the SolarWinds Platform server or Additional Polling Engine AND on each agent in agent-initiated communication mode.
Manually change the port on the SolarWinds Platform server or Additional Polling Engine
- On the SolarWinds Platform server or Additional Polling Engine, edit the following configuration file using a text editor:
C:\Program Files (x86)\SolarWinds\Orion\AgentManagement\SolarWinds.AgentManagement.ServiceCore.dll.config
- Change the port number on the following line:
<agentManagementServiceConfiguration messagingPort="17778" />
- Save the file.
- Restart the SolarWinds Orion Module Engine service.
- Ensure your firewall rules are updated to allow communication through the new port.
- If you installed the agent manually, you can change the port number during installation through the wizard in the web console.
- If you deployed the agent from the server, the port number is set automatically.
- If you used the MST file for mass deployment, you must download a new MST file from the server after you change the port number.
Update the port on agents deployed on Windows
- Log in to the computer with the deployed agent.
- Open Orion Agent Settings in the Control Panel.
- Enter a new port number, and click OK.
The agents direct communications with the server to the new port number.
Update the port on agents deployed on Linux/Unix-based devices
- Log on to the device with the agent installed on it. You may need to
su
to an account with root-level privileges. - In the terminal, type
/opt/SolarWinds/Agent/bin/swiagentaid.sh init
. - Choose option
3
and enter the new port number. - Enter
7
to save your changes.
The agents direct communications with the server to the new port number.