Setting up Django on Google Cloud (basic server)
Samuel Muiruri <[email protected]> Sat, 20 Jan 2018 17:52:02 +0300
| Newsgroups | gmane.comp.python.django.user,gmane.comp.python.org.uk |
|---|---|
| Message-ID | <CAJZFZXrw9O-x8aV6NynHN9iEiLd=MZU8OpHGUeEmHXUSH9wAkw@mail.gmail.com> |
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 " message. For now I'm taking a break hoping I'll come up with something, also hope someone here who might have gone through the same or is a seasoned web dev might also help too. -- Best Regards, Samuel Muiruri. Senior Developer @ Revorta. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJZFZXrw9O-x8aV6NynHN9iEiLd%3DMZU8OpHGUeEmHXUSH9wAkw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
snap 2.JPG
(image/jpeg, 45.4 KB) - not displayed
snap 3.JPG
(image/jpeg, 117 KB) - not displayed