On Sat, 20 Jan 2018 at 14:52 Samuel Muiruri <muiruri.sam...@gmail.com> wrote:
> I had this issue before with AWS i remember it was just as stressful then > and actually can't remember what actually fixed it. I basically have a > clean Ubuntu VM which I followed this guide > https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04 > step by step on creating and hosting django on a site. > > Every step worked smoothly until this point when I need to run the command > "python manage.py runserver 0.0.0.0:8000" which starts the service (shown > on the attached screenshot) (also is the google cloud page showing the > given external ip) according to this with the server waiting visiting > http://35.227.49.155:8000/ should bring the site or something but it > fails to connect i get " > This site can’t be reached > Have you checked the firewall rules? I would suggest adding a tag to your Instance and then creating a firewall rule for the same tag which allows port 8000 TCP ingress. See https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules -- -- Matt Wheeler http://funkyh.at
_______________________________________________ python-uk mailing list python-uk@python.org https://mail.python.org/mailman/listinfo/python-uk