# Changing Port Numbers Kindly follow the steps in this page to change port numbers of the ports used in OpManager. 1. [1. SNMP Trap Receiver Port](https://www.manageengine.com/network-monitoring/help/changing-port-numbers.html#snmp_trap_receiver) 2. [2. Syslog Receiver Port](https://www.manageengine.com/network-monitoring/help/changing-port-numbers.html#syslog_receiver) 3. [3. Netflow Listener Port (NFA Add-on)](https://www.manageengine.com/network-monitoring/help/changing-port-numbers.html#netflow_listener) 4. [4. Firewall Log Receiver (FWA add-on)](https://www.manageengine.com/network-monitoring/help/changing-port-numbers.html#firewall_log_receiver) 5. [5. SNMP Port](https://www.manageengine.com/network-monitoring/help/changing-port-numbers.html#snmp_port) 6. [6. SSH Port](https://www.manageengine.com/network-monitoring/help/changing-port-numbers.html#ssh_port) 7. [7. Telnet Port](https://www.manageengine.com/network-monitoring/help/changing-port-numbers.html#telnet_port) 8. [8. Webserver Port](https://www.manageengine.com/network-monitoring/help/changing-port-numbers.html#webserver_port) 9. [9. PostgreSQL Database Port](https://www.manageengine.com/network-monitoring/help/changing-port-numbers.html#postgresql_database_port) 10. [10. MSSQL Database Port](https://www.manageengine.com/network-monitoring/help/changing-port-numbers.html#mssql_database_port) 11. [11. Remote Desktop Port (RDP)](https://www.manageengine.com/network-monitoring/help/changing-port-numbers.html#remote_desktop_port) > **Note:** > > - Kindly restart OpManager service after updating Port numbers. > - It is recommended that Dynamic ports are not changed for Scalability purposes as it may affect product performance. Despite this, if you want to change the dynamic ports to a fixed port, please follow the steps given [here](https://docs.microsoft.com/en-us/windows/win32/wmisdk/setting-up-a-fixed-port-for-wmi). ## SNMP Trap Receiver port - Protocol: UDP - Deafault Port Number: **162** - Port type: Static - Direction: Inbound To update port number for Port 162, go to Settings -> Monitoring -> SNMP Trap Processors -> Trap Settings in the OpManager UI. ![Change port numbers in OpManager: SNMP trap receiver port](https://www.manageengine.com/network-monitoring/help/images/port-number-1.png) ## Syslog Receiver Port - Protocol: UDP - Default Port Number: **514** - Port type: Static - Direction: Inbound To update Port 514 in OpManager, go to Settings -> Monitoring -> Syslog Rules -> Syslog Port and change the Port number. ![Change port numbers in OpManager: Syslog receiver port](https://www.manageengine.com/network-monitoring/help/images/port-number-2.png) To update Port 514 specific for the NCM add-on module, go to Settings -> NCM -> Server Settings in the OpManager UI and change the "On port" number under "Syslog Server". ## Netflow Listener Port (NFA Add-on) - Protocol: UDP - Default Port Number: 9996 - Port type: Static - Direction: Inbound To update Port 9996, go to Settings -> General Settings -> Server Settings in the OpManager UI and change the required port number(s) under listener port. ![Change port numbers in OpManager: NetFlow listener port](https://www.manageengine.com/network-monitoring/help/images/port-number-3.png) ## Firewall Log Receiver (FWA add-on) - Protocol: UDP - Port Number: 1514 - Port type: Static - Direction: Inbound To change this port go to Settings -> Firewall -> Syslog Server -> Add and add a new virtual syslog server and begin listening on a new port for exported log files. (Only applicable with Firewall Analyzer add-on module) ![Change port numbers in OpManager: Firewall log receiver](https://www.manageengine.com/network-monitoring/help/images/port-number-4.png) ## SNMP Port - Protocol: UDP - Default Port Number: 161 - Port type: Static - Direction: Bidirectional If you want to configure a different SNMP Port, please configure it in the Credentials page (Settings -> Discovery -> Device Credentials) in the OpManager UI. ![Change port numbers in OpManager: SNMP port](https://www.manageengine.com/network-monitoring/help/images/port-number-5.png) ## SSH Port - Protocol: TCP - Default Port Number: 22 - Port type: Static - Direction: Bidirectional To change this port, go to Settings -> Discovery -> Credentials -> Add Credentials and choose the appropriate port number in the Add Credentials screen for the SSH protocol under Telnet/SSH credential type. ![Change port numbers in OpManager: SSH port](https://www.manageengine.com/network-monitoring/help/images/port-number-6.png) ## Telnet Port - Protocol: TCP - Default Port Number: 23 - Port type: Static - Direction: Bidirectional To change this port, go to Settings -> Discovery -> Credentials -> Add Credentials and choose the appropriate port number in the Add Credentials screen for the Telnet protocol under Telnet/SSH credential type. ![Change port numbers in OpManager: Telnet port](https://www.manageengine.com/network-monitoring/help/images/port-number-7.png) ## Webserver Port - Protocol: TCP - Default Port Number: 8060 - Port type: Static - Direction: Bidirectional > **NOTE:** It is mandatory to change the OpManager port only from the UI, if any agent-monitored devices are present. To change in this port in the OpManager UI, go to Settings -> General Settings -> Server Settings and change Server Port. To change this port, go to `\bin` and open the `ChangeWebServerPort.bat` file. Once opened, execute the `ChangeWebServerPort.bat ` command, where the new desired port number has to be entered in place of ``. ![Change port numbers in OpManager: Webserver port 1](https://www.manageengine.com/network-monitoring/help/images/port-number-8.png) ![Change port numbers in OpManager: Webserver port 2](https://www.manageengine.com/network-monitoring/help/images/port-number-9.png) ## PostgreSQL Database Port - Protocol: TCP - Default Port Number: 13306 To change this port, close the OpManager service and go to `\conf\database_params.conf`. Open the `database_params.conf` file. In the conf file, change the port number in the URL. ![Change port numbers in OpManager: PostgreSQL database port](https://www.manageengine.com/network-monitoring/help/images/port-number-10.png) ## MSSQL Database Port - Protocol: TCP - Default Port Number: 1433 To change this port, close the OpManager service, run the `DBConfiguration.bat` file under `/bin` and change the port number. Alternatively, close OpManager service, go to `\conf\database_params.conf` and open the `database_params.conf` file. In the conf file, change the port number in the URL. **Note:** Ensure that this port number matches the port number in which the MSSQL Database has been installed. ![Change port numbers in OpManager: MSSQL database port](https://www.manageengine.com/network-monitoring/help/images/port-number-11.png) ## Remote Desktop Port (RDP) - Protocol: TCP - Default Port Number: 7275 - Port type: Static - Direction: Bidirectional To change this port, close the OpManager service and go to `\conf` folder and open the `gateway.conf` file. Change the to the desired listening port number here. ![Change port numbers in OpManager: Remote desktop port](https://www.manageengine.com/network-monitoring/help/images/port-number-12.png)