[python-uk] Setting up Django on Google Cloud (basic server)
nick.a.sarbicki at gmail.com
Fri Jan 26 02:11:10 EST 2018
There was a discussion on a slack channel a few days ago with someone who,
suspiciously, had the same name and problem. They'd tried to set up
firewall rules (not sure they worked) and was trying to get it running via
port 80 with gunicorn. Haven't heard anything else so assuming fixed.
On Thu, 25 Jan 2018, 19:31 Matt Wheeler, <m at funkyhat.org> wrote:
> 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://126.96.36.199: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
> python-uk mailing list
> python-uk at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the python-uk