How do I configure apache to use a non default port number?

Version 2
    Share This:

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


    PRODUCT:

    Remedy AR System Server


    APPLIES TO:

    BMC Remedy AR System Server



    QUESTION:

    How do I configure apache to use a non default port number?


    ANSWER:

     

    Legacy ID:KA333984

    There are two Apache directives that control this: Port and Listen.  
    A line such as: 

    Port 80 

    in your httpd.conf file tells Apache that its canonical port is port 80. Change this to the unused valid port number you desire. 
    There can only be one Port line in httpd.conf. If you wanted Apache to attach to additional ports, you can accomplish this by adding lines like this into the httpd.conf file: 

    Listen 8080 
    Listen 1234 
    etc... 

    Please note that if you are configuring apache to use secure socket layers (SSL) there are other procedures that should be followed. 

     


    Article Number:

    000018927


    Article Type:

    FAQ/Procedural



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