Network Management

SolarWinds Trap service is stopped because another application is using UDP port 162

This article provides brief information and steps to resolve the issue when the trap service is stopped.

First published date

10/22/2018 2:59 PM

Last published date

10/21/2022 11:28 PM

Overview

The SolarWinds Trap Service, by default, listens to UDP port 162 for trap messages sent by devices over the network. If another application is already listening to the same port, SolarWinds Trap Service will not be able to run properly. This article discusses steps to identify and resolve issues where another application(Non-SolarWinds) is already using UDP port 162.

The following error message can also be seen in the TrapService.log (C:\ProgramData\SolarWinds\Logs\Orion).

TrapService.log:
ERROR TrapService.TrapService - The service is unable to bind to port 162. Please stop the other trap manager.
[StartupThread] ERROR SolarWinds.Orion.Common.SWEventLogging - Unable to register with SNMP Trap Service for IPv6 SNMP Trap reception.

The following windows service is running: SNMP Trap
Which uses UDP Port 162

Product section

Orion Platform

Cause

A non-SolarWinds application is already listening to UDP port 162 blocking the SolarWinds Trap Service to run.

Resolution

  1. Open CMD and run the command below
  2. Take note of the PID listed in the right side of the result
  3. Open Task Manager and under the Services tab, identify the service using the PID
  4. Uninstall(or disable) the service
Or you can try the following: 
  1. Click Start > Control Panel > Add or Remove Programs.
  2. Click Add/Remove Windows Components.
  3. Click Management and Monitoring Tools, confirm it is checked, and then click Details.
  4. Confirm the Simple Network Management Protocol is checked, and then click OK.
  5. If Simple Network Management Protocol was not checked, complete the Windows Components installation wizard.
  6. Click Start > Control Panel > Administrative Tools > Services
  7. Confirm the SNMP Trap Service is Disabled.
  8. If the SNMP Trap Service is not Disabled, right-click SNMP Trap Service, and then click Stop.
 

NOTE: This solution will allow the SolarWinds Trap Service to use UDP port 162 and listen for trap messages uncontested by other applications.