ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Odoo OpenERP Publishing

    IT Discussion
    2
    4
    847
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AlyRagabA
      AlyRagab
      last edited by

      Dears,

      i have CentOS 7 installed on my server also there is Odoo OpenERP in this machine and Apache as well , Odoo is listening on port 8069 by default and Apache is listening on port 80
      so how can i redirect any traffic comming on port 80 to 8069 noting that i have configured the firewalld for that forwarding as the below :
      #firewall-cmd --permanent --add-forward-port=port=80:proto=tcp:toport=8069:toaddr=External -IP

      Thanks

      1 Reply Last reply Reply Quote 0
      • stacksofplatesS
        stacksofplates
        last edited by stacksofplates

        First you will want to remove the firewalld rule. It sends anything that hits port 80 to 8069. You will want to set up a virtual host in Apache that will allow you to only forward the traffic designed for the Odoo instance to port 8069.

        Here's an article on using Apache as a reverse proxy.

        https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension

        AlyRagabA 1 Reply Last reply Reply Quote 0
        • AlyRagabA
          AlyRagab @stacksofplates
          last edited by

          @johnhooks i really appreciate your help, i solved the issue by the mod_proxy module
          thanks so much
          this is the best IT Forum i have ever seen 🙂

          stacksofplatesS 1 Reply Last reply Reply Quote 1
          • stacksofplatesS
            stacksofplates @AlyRagab
            last edited by

            @AlyRagab said:

            @johnhooks i really appreciate your help, i solved the issue by the mod_proxy module
            thanks so much
            this is the best IT Forum i have ever seen 🙂

            No problem!

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post