How to change the port that TrapExploder uses on a Windows server (Legacy KB ID CNC TS10758 )

Document ID : KB000052197
Last Modified Date : 14/02/2018
Show Technical Document Details


To resolve the above error, either stop the other trap server running on port 162, or change the port that TrapEXPLODER is running on.


To stop the other trap server:
1. Open Control Panel - Services
2. Highlight any trap receiver services that are running
3. Click the Stop button
4. Click the Startup... button
5. In the Startup Type section, select Manual
6. Click OK
7. Highlight the Empire Technologies SNMP TrapEXPLODER service
8. Click the Start button
9. Click the Close button


To change the port used on Windows machines:
- open regedit and go to:
    HKEY_LOCAL_MACHINE/SOFTWARE/ConcordCommunications/ConcordTrapEXPLODER/CurrentVersion
- Select the CurrentVersion folder to make it the active folder
- Go to the Edit menu and choose New and choose String value
- Name the new entry "TrapPort"
- Enter the value of the new port
- Close out the registry editor
- Open a command prompt and restart the Trapexploder using these commands:
     net stop trapexploder
     net start trapexploder
- To verify the new port is being used, reference the output from the following command:
     netstat -an - grep 162
- Nothing should be bound to port 162. 
- Now run the following command:
     netstat -an - grep <Port_#_Given_For_New_Registry_Key>
- The output should reflect that the new UDP port is being used


Windows platforms only. This fix does not apply to any Unix platforms.  Please select the following for changing the TrapExploder port on a UNIX server


.

Related Issues/Questions:
Error: "The Empire Technologies SNMP TrapEXPLODER service returned service specific error 2"
How to change the default port that TrapExploder uses from UDP port 162
How to run TrapEXPLODER on a different port
Can TrapEXPLODER be run on another port
Can the port that TrapEXPLODER uses be changed
Can TrapExploder be configured to listen on a different port
How can the TrapEXPLODER port be changed
How to change the port that TrapEXPLODER uses on a Windows server

Problem Environment:
Microsoft
TrapEXPLODER

Causes of this problem:
Traps are traditionally sent to UDP port 162.  This is the most common default port for trap reception utilities.  This error indicates another trap receiver is running on the default UDP port 162

Additional Information:
Windows platforms only. This fix does not apply to any Unix platforms.  Please select the following for changing the TrapExploder port on a UNIX server
NOTE: This feature to change the port for TrapEXPLODER is ONLY available beginning with TrapExploder versions 1.4P1 and later.


(Legacy KB ID CNC TS10758 )