[python-uk] Setting up Django on Google Cloud (basic server)
m at funkyhat.org
Thu Jan 25 14:30:03 EST 2018
On Sat, 20 Jan 2018 at 14:52 Samuel Muiruri <muiruri.samuel at 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
> 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://18.104.22.168: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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the python-uk