I have successfully installed Odoo on Google cloud (VM ware instance Ubuntu 14.04 LTS ) and started Odoo service. everything seems well.
but while I am trying to access the instance from external IP it is not allowing me to access. to check whether IP is working or not I have installed apache2. but I can access apache2 default page from external IP.
have anyone installed Odoo on Google cloud?
On Google cloud by default http traffic is not allowed. you can access Apache's default page that means you have allowed the http traffic.
May be your problem is with port. you can access Apache's default page because default port of Apache is 80 and it is open. if you are starting odoo on port default port(8069) you need to that port. for that you need run a command on terminal using root like
iptables -I INPUT 1 -p tcp --dport 8080 -j ACCEPT
after that you can access odoo on http://your.ip:8069
another possible option is to redirect the port 8069 on port 80. to redirect port open a file /etc/rc.local using
paste a command
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8069
and reboot your server using
after reboot you can access odoo on default port like http://your.ip
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: 6/1/15, 5:11 AM|
|Seen: 930 times|
|Last updated: 6/2/15, 8:07 AM|