4 Replies Latest reply: Oct 23, 2012 12:23 PM by proora RSS

    How to change Apache port

    user151917
      Hi,

      10.1.2

      10.1.3

      There are two oracle application 10g server on same server Actually it is new. Both application i just cloned. Now one is running smoothly but when i tried to start second one it is not starting http server because the http port are same both of the server what i belive.

      So i need to change port number Please help on that

      Thanks
        • 1. Re: How to change Apache port
          Fabian
          Hi,

          On both Application Server ie OAS 10g r2 or OAS10g r3
          You can Change the http port through the below file

          ORACLE_HOME/Apache/Apache/conf/httpd.conf

          Parameter: Port

          Default will be 7778 or 7777

          Regards
          FAbian
          • 2. Re: How to change Apache port
            user151917
            I have already change d it but it is not working. When I shutdown http of 10.1.2 then will start http for 10.1.3 vice versa but both http is not running together. Suggest me

            I need to change only httpd.conf file or need to change also some other file?
            • 3. Re: How to change Apache port
              Fabian
              Hi,

              Yes,Changes needs to be done only on httpd.conf file

              Stop HTTP Server of both OAS 10g r2 and r3

              For OAS 10g r2 as below

              check whether 7778 port is free or not
              ie
              netstat -an|grep 7778
              if you dont get any output that means that port is free and can be allocated to any 1 of the server

              change Port and Listen as below

              Port 7778
              Listen 7778

              Start the HTTP server of OAS 10g r2

              Now your application will be using 7778 port,ie http://ipaddress:7778/context root

              For OAS 10g r3

              check whether 7780 port is free or not
              ie
              netstat -an|grep 7778
              if you dont get any output that means that port is free and can be allocated to any 1 of the server

              change Port and Listen as below

              Port 7780
              Listen 7780

              Start the HTTP server of OAS 10g r3
              Now your application will be using 7780 port,ie http://ipaddress:7780/context root

              Still if your Facing problem,Please post the error which you in your logs

              Regards
              Fabian
              • 4. Re: How to change Apache port
                proora
                open the EM of application server then go to the ports