How do I stop the use of port 80 in the MVCM Tomcat web server? (MVCM MVCA)

Version 3
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    MainView Console Management for zEnterprise - Base


    APPLIES TO:

    MVCM MVCA MainView Console Management for zEnterprise MainView Console Automation for zEnterprise



    QUESTION:

    It may be desirable to block port 80 (the non-SSL HTTP port) being used in the MVCM Tomcat web server. Although no privileged information is passed to the and from the MVCM web server using the non-SSL HTTP port 80, occasionally this is requested by administrators.
     


    ANSWER:

     

    To block port 80 in the MVCM Tomcat web server, edit the file /usr/tomcat/conf/server.xml. Find the block of code that follows "Define a non-SSL/TLS HTTP/1.1 Connector on port 8080":

      
          <!-- A "Connector" represents an endpoint by which requests are received
      
               and responses are returned. Documentation at :
      
               Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
      
               Java AJP  Connector: /docs/config/ajp.html
      
               APR (HTTP/AJP) Connector: /docs/apr.html
      
               Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
      
          -->
      
             <Connector port="${com.bmc.mvcm.http.port}" protocol="HTTP/1.1"
      
                     connectionTimeout="20000"
      
                     redirectPort="${com.bmc.mvcm.https.port}" />
      
          <!-- A "Connector" using the shared thread pool-->
      
          <!-- 
      
      

    Delete, or comment out the Connector port= line, the connectionTimeout line and the redirectPort line by adding "<!--" and "-->" before and after the block of code. The new file will now look like this:
     

      
        <!-- A "Connector" represents an endpoint by which requests are received
      
               and responses are returned. Documentation at :
      
        
      
               Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
      
               Java AJP  Connector: /docs/config/ajp.html
      
               APR (HTTP/AJP) Connector: /docs/apr.html
      
               Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
      
        
      
          -->
      
      <!-- Commenting out port 80
      
          <Connector port="${com.bmc.mvcm.http.port}" protocol="HTTP/1.1"
      
                     connectionTimeout="20000"
      
                     redirectPort="${com.bmc.mvcm.https.port}" />
      
      Finished commenting out port 80 -->
      
        
      
         <!-- A "Connector" using the shared thread pool-->
      
          <!--
      

    Note: You will need to make this change after every MVCM upgrade, as new versions of Tomcat will overwrite the existing /usr/tomcat/conf/server.xml file.

     


    Article Number:

    000165647


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles