openerp - Can't access Odoo on Google cloud -


i have installed odoo on google cloud (vm ware instance ubuntu 14.04 lts ) , started odoo service. seems well.

but while trying access instance external ip not allowing me access. check whether ip working or not have installed apache2. can access apache2 default page external ip.

have installed odoo on google cloud?

on google cloud default http traffic not allowed. can access apache's default page means have allowed http traffic.

may problem port. can access apache's default page because default port of apache 80 , open. if starting odoo on port default port(8069) need port. need run command on terminal using root like

iptables -i input 1 -p tcp --dport 8080 -j accept 

after can access odoo on http://your.ip:8069

another possible option redirect port 8069 on port 80. redirect port open file /etc/rc.local using

nano /etc/rc.local 

paste command

iptables -t nat -a prerouting -p tcp --dport 80 -j redirect --to-port 8069 

and reboot server using

sudo reboot 

after reboot can access odoo on default port http://your.ip


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -