Odoo Help


How to avoid :8069 to access a website that developed using Odoo

on 4/1/16, 1:07 AM 1,255 views

I just install odoo on amazon ubuntu instance. And created a website there. Now to access the website i have to type as public_ip:8069 (For example Can i get the website without defining the 8069 port. Means by just type only.

--Jignesh Mehta--

Jignesh Mehta
On 4/1/16, 6:02 AM

Hello Aby,

Follow below step :-

1) Go to etc folder Ex:- cd /etc

2) Open rc.local file Ex:- nano rc.local

3) Written follow command before exit 0 in that,

sudo iptables -A PREROUTING -t nat -p tcp --dport 80 -j REDIRECT --to-port 8069

4) Save that file.

5) Restart the System and odoo server.

Hope this will helps you.


On 11/21/17, 2:46 AM

use nginx it's solved the problem in my server and now  i just wright www.mysite.com 


Ermin Trevisan

--Ermin Trevisan--
| 6 5 7
Walchwil, Switzerland
--Ermin Trevisan--

Ermin Trevisan
On 4/1/16, 7:53 AM

Jignesh's solution is nice, but at the end of the day you may want to install a proxy server such as Apache, nginx or caddyserver.

On 4/2/16, 1:09 AM

Thanks Jignesh for your response. But can we do it with out redirecting. As i know the default port is 80 now. Can we set it as 8069 by using a web server like Apache 2 as Mr.Ermin said.

You have to setup a proxy server with a virtual host definition which redirects incoming requests to xxx.xxx.xxx.xxx:8069 or localhost:8069

Ermin Trevisan
on 4/2/16, 2:04 AM

... or internal-IP:8069 or depending on your setup

Ermin Trevisan
on 4/2/16, 2:08 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 4/1/16, 1:07 AM
Seen: 1255 times
Last updated: 11/21/17, 2:46 AM