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 220.127.116.11:8069). Can i get the website without defining the 8069 port. Means by just type 18.104.22.168 only.
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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/1/16, 1:07 AM|
|Seen: 433 times|
|Last updated: 4/5/16, 11:51 PM|