- Revenera Community
- :
- FlexNet Operations
- :
- FlexNet Operations Knowledge Base
- :
- What is running on port number 5001 and how to change it?.
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
What is running on port number 5001 and how to change it?.
What is running on port number 5001 and how to change it?.
The port number 5001 is used by FNO SoapMonitor and if we need to change this port number for security reasons based on the firewall configuration, then we can find the running port with the following command and change to another port.
C:\>netstat -aon | findstr 5001
TCP 0.0.0.0:5001 0.0.0.0:0 LISTENING 13144
C:\>tasklist /fi "pid eq 13144"
Image Name PID Session Name Session# Mem Usage
========================= ======== ================ =========== ============
java.exe 13144 Services 0 1,686,752 K
The value of the SOAPMonitorPort can be modified by changing it in the web.xml file present at the location :
<FNO_Instal dir>\components\wildfly\standalone\deployments\flexnet.ear\flexnet.war\WEB-INF\web.xml
This won't survive In the FNO site(deploy) as the change is directly in the server's deployment folder. Also, after the change, a restart is required.
To Survive the changes in the next FNO site deployment, please make the change at <FNO install dir>\webapp\WEB-INF\web.xml and deploy FNO and restart the server.
--
<servlet>
<servlet-name>SOAPMonitorService</servlet-name>
<servlet-class&amp;amp;gt;org.apache.axis.monitor.SOAPMonitorService</servlet-class&amp;amp;gt;
<init-param>
<param-name>SOAPMonitorPort</param-name>
<param-value>5001</param-value>
</init-param>
<load-on-startup>100</load-on-startup>
</servlet>
--
Find the below-changed snippet:
--
<servlet>
<servlet-name>SOAPMonitorService</servlet-name>
<servlet-class&amp;amp;gt;org.apache.axis.monitor.SOAPMonitorService</servlet-class&amp;amp;gt;
<init-param>
<param-name>SOAPMonitorPort</param-name>
<param-value>5002</param-value>
</init-param>
<load-on-startup>100</load-on-startup>
</servlet>
--
Checked the same using the netstat command.
C:\>netstat -aon | findstr 5002
TCP 0.0.0.0:5002 0.0.0.0:0 LISTENING 9844
C:\>tasklist /fi "pid eq 9844"
Image Name PID Session Name Session# Mem Usage
========================= ======== ================ =========== ============
java.exe 9844 Services 0 1,713,328 K