Browse By

Run Odoo from port 80 instead of 8069

  • Denis

    Why don’t you just specify port in Odoo config file? Just deactivate other listeners of port 80…

    • Vimal Rughani

      Denis, I tried, but it didn’t work, You can experiment with that.

    • rachid el ghazi

      true or just using the parameter of odoo –xmlrpc-port=80

      • Bennie

        running below port 1000 requires root privileges in the linux world. (on windows, no problem). Having the capability of root is very dangerous on the www. That’s why ports >1000 should be used. That’s also the reason why it’s easier to hack a windows system.

    • jamesutru

      How do you deactivate other listeners of port 80?

  • Bennie

    Next step: https for security sake. How to get a certificate. Then put it on the right place and configure it.

  • Pingback: Run Odoo from port 80 instead of 8069 | onewaterdrop()

  • Ubuntu Frans

    Vimai Rughani and others also excellent install on Linux Mint 17. Maybe can be added. User is odoo

  • Ruben Kannan

    Hey guys,

    Nice article.

    I have two issues.

    1. this does not work for me since I have apache server running on port 80. how do I force this?

    2. How about using database as a subdomain like dbName.myIP insead of myIP:8069?db=dbName or myIP?db=dbName

    • Ruben Kannan


      This works on a ubuntu computer not on a ubuntu VPS.

      • Andrey

        On first issue:
        Don’t you have to change the last line to “exit 1”?

  • Billie Blake-Alexandra

    THis worked great.. but what if you have multiple databases/multiple companies? Which one will be servers for default website? Thanks!

  • jamesutru

    I was unable to get this to work on my ubuntu 14.0 server

  • Arian

    Thank you .Was very ease.I have my own home server OS ubuntu 14.04.
    Now after forwarding the port 8069 to 80 I can’t open own cloud at how to change the port for owncloud from 80 to other port for example i don’t have so much experience in linux .
    Thx in advance

  • Arian

    sorry i forget , i have same problem with phpmyadmin

  • Rickey

    Wow. This is exactly what I was looking for. Thanks to VIMAL RUGHANI I was able to set this up by my own. Actually, I host my Odoo application at and usually they configure my Odoo server, but today I became an Odoo expert :) Thank youuu..

    • Vimal Rughani

      It’s my pleasure Rickey. I am happy that you liked my article.

  • Rurangirwa Bailly

    Thanks a lot! I was following the instructions at , but it wasn’t working.

    Your method worked for me.

    • Vimal Rughani

      My Pleasure Rurangirwa. I am Happy that my solution work for you.

  • Adeboye Olubukola Moses

    Thanks this solves a lot…

  • Lhawang Namgyal

    Thanks for the code. I am almost finished coding your code as
    above, but I don’t remember the [sudo] password for odoo. How can I find
    the password?
    Thanks once again

  • Jerin Jose

    Great.its working perfect for me.