Network Management
How to change the SNMP Trap port in Orion
This article shows how to manipulate and change the SNMP Trap port if really necessary.
First published date
Last published date
Overview
Product section
Resolution
- On your Orion server, go to [installation drive]:\Program Files (x86)\SolarWinds\Orion\SyslogTraps and open the SWTrapService.exe.config file.
- NOTE: in 2019.4 & 2020 going forward SWTrapService.exe.config file is renamed to SolarWinds.SysLogTraps.BusinessLayer.dll.config
- Locate the <add key="TrapPort" value="162" /> line (most likely in line 17).
- Change the port number to the desired value.
- Save and close the file.
2025.1 Onwards or HCO/SWO
File Names:
SolarWinds.Orion.LogMgmt.TrapService.exe.config
SolarWinds.Orion.LogMgmt.SyslogService.exe.config
Location:
C:\Program Files\SolarWinds\Orion
- Locate the <add key="TrapPort" value="162" /> line
- Change the port number to the desired value.
- Save and close the file.