<div dir="auto">Or it could be the allowed hosts in the settings file. I was using vagrant and even though I had forwarded the ports from the guest machine, I also needed to add the ip of the guest server into my hosts. I then connected via the ip of the vagrant box rather than the localhost and the forwarded port as I would have expected.</div><div class="gmail_extra"><br><div class="gmail_quote">On 23 Jan 2018 17:03,  <<a href="mailto:python-uk-request@python.org">python-uk-request@python.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send python-uk mailing list submissions to<br>
        <a href="mailto:python-uk@python.org">python-uk@python.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://mail.python.org/mailman/listinfo/python-uk" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-uk</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:python-uk-request@python.org">python-uk-request@python.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:python-uk-owner@python.org">python-uk-owner@python.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of python-uk digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Setting up Django on Google Cloud (basic server)<br>
      (Steve Holden)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Tue, 23 Jan 2018 13:49:04 +0000<br>
From: Steve Holden <<a href="mailto:steve@holdenweb.com">steve@holdenweb.com</a>><br>
To: UK Python Users <<a href="mailto:python-uk@python.org">python-uk@python.org</a>><br>
Subject: Re: [python-uk] Setting up Django on Google Cloud (basic<br>
        server)<br>
Message-ID:<br>
        <<a href="mailto:CAMofdRBsyKv_NjwemzsN3Z1B1jW0oC1WOpm5GszxWK3og17uyA@mail.gmail.com">CAMofdRBsyKv_<wbr>NjwemzsN3Z1B1jW0oC1WOpm5GszxWK<wbr>3og17uyA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
>From your description it sounds like the IP address of your host is not<br>
delivering packets to your VM, which should be listening on all its<br>
interfaces. Perhaps a problem in your virtual's interface configuration?  S<br>
<br>
Steve Holden<br>
<br>
On Sat, Jan 20, 2018 at 2:52 PM, Samuel Muiruri <<a href="mailto:muiruri.samuel@gmail.com">muiruri.samuel@gmail.com</a>><br>
wrote:<br>
<br>
> I had this issue before with AWS i remember it was just as stressful then<br>
> and actually can't remember what actually fixed it. I basically have a<br>
> clean Ubuntu VM which I followed this guide <a href="https://www" rel="noreferrer" target="_blank">https://www</a>.<br>
> <a href="http://digitalocean.com/community/tutorials/how-to-set-up-" rel="noreferrer" target="_blank">digitalocean.com/community/<wbr>tutorials/how-to-set-up-</a><br>
> django-with-postgres-nginx-<wbr>and-gunicorn-on-ubuntu-16-04 step by step on<br>
> creating and hosting django on a site.<br>
><br>
> Every step worked smoothly until this point when I need to run the command<br>
> "python manage.py runserver <a href="http://0.0.0.0:8000" rel="noreferrer" target="_blank">0.0.0.0:8000</a>" which starts the service (shown<br>
> on the attached screenshot) (also is the google cloud page showing the<br>
> given external ip) according to this with the server waiting visiting<br>
> <a href="http://35.227.49.155:8000/" rel="noreferrer" target="_blank">http://35.227.49.155:8000/</a> should bring the site or something but it<br>
> fails to connect i get "<br>
> This site can?t be reached<br>
> " message.<br>
><br>
> For now I'm taking a break hoping I'll come up with something, also hope<br>
> someone here who might have gone through the same or is a seasoned web dev<br>
> might also help too.<br>
><br>
> --<br>
><br>
> Best Regards,<br>
><br>
> Samuel Muiruri.<br>
><br>
> Senior Developer @ Revorta.<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> python-uk mailing list<br>
> <a href="mailto:python-uk@python.org">python-uk@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/python-uk" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-uk</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.python.org/pipermail/python-uk/attachments/20180123/d0f17604/attachment-0001.html" rel="noreferrer" target="_blank">http://mail.python.org/<wbr>pipermail/python-uk/<wbr>attachments/20180123/d0f17604/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
python-uk mailing list<br>
<a href="mailto:python-uk@python.org">python-uk@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-uk" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-uk</a><br>
<br>
<br>
------------------------------<br>
<br>
End of python-uk Digest, Vol 173, Issue 9<br>
******************************<wbr>***********<br>
</blockquote></div><br></div>