To disable HTTP ports in Tomcat services, complete the following steps:
Procedure
- Start the ncm-as service.
- Open the /opt/ionix-ncm/ncmcore/conf/server.xml file.
- Comment out the following section to remove the HTTP port reference:
<Connector port="8881" protocol="HTTP/1.1"^M
connectionTimeout="20000"^M
redirectPort="8880" /> ^M
- Save the file.
- Restart the ncm-as service.
Also, follow the above procedure (step 1-5) for NCM MSA.
- Edit the <Tomcat_Home>/conf/server.xml file to remove the HTTP port reference for 8080 -> 8443.
- Edit the /opt/ionix-ncm/ncmmsa/conf/server.xml file to remove the HTTP port reference for 9180 -> 9443.
Note: MSA service runs fine after disabling the HTTP port, and no other changes are required.