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

10/24/2018 4:54 PM

Last published date

3/12/2025 5:39 PM

Overview

For possible security compliance and avoidance on using standard known ports, this article shows how to manipulate and change SNMP trap port if necessary with other available ports. 

Product section

Network Performance Monitor

Resolution

  1. 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
  2. Locate the <add key="TrapPort" value="162" /> line (most likely in line 17).
  3. Change the port number to the desired value.
  4. 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

  1. Locate the <add key="TrapPort" value="162" /> line
  2. Change the port number to the desired value.
  3. Save and close the file.