I chose an instance with Ubuntu 14 ... pulled postgresql, pulled Odoo from github. I set up via gitbash, connecting via -ssh, prepared for launch and got up. Here are 2 algorithms that I used to use algorithm 1 , algorithm 2 . Correspondingly, I deployed everything on 4 instances. I am a beginner, my question will seem very simple. How can I connect via a browser to a remote server on AWS and GCP? Tried to enter DNS IP and Public IP and created Elastic IP . I can't come in anyway. I tried to prescribe public ip:8069 . What am I doing wrong. Can not be on different cloud servers the same error in the connection rules. I have Windows 10
3 answers
I had the same problem - as it turned out in the windows firewall on the AWS instance, Network discovery was disabled and port 8069 was blocked.
Server availability can be checked by pinging.
In Ubuntu, too, something is apparently blocked somewhere, try looking in this direction.
- It was just necessary to unblock port 8069. Due to ignorance, I did it in a crooked way and unblocked a completely different type of port. - Rado Duoistin
We do this:
apt-get install nginx vim /etc/nginx/sites-enabled/default Then in the nginx config we find the location / and write something like:
proxy_pass http://127.0.0.1:8069 As practice shows, this is the best way to communicate with odoo . Exposing it out of port 8069 is dangerous. It uses werkzeug to process requests, and it’s quite a leaky one (version 0.11 at the time of writing the answer), and in view of conservatism, security updates to the odoo distribution odoo not come often.
- Made, as proceeding from point above. Now I have the ngnix page with the usual input of ip. If I enter public ip: 8069 - empty page. - Rado Duoistin
- @RadoDuoistin, nginx should proxy requests from
location /to port8069. Do not show a regular page. Run/etc/init.d/nginx restart. - Nikolay Fominykh
Go to ec2 in Security Groups and open port 80 and 443 in the group that is connected to the instance.
- Did not work. Vseravno not connected. Ports opened. - Rado Duoistin