Hey, uhm I faced a similar problem lately. Try this in the Settings.py
file,

Inside the brackets insert an asterisk ✳
It should look something like this

Allowed host = [ *];
Then try again.


On Thu, Jul 12, 2018, 7:34 PM Dikus Extrange <dikus.andr...@gmail.com>
wrote:

> Hi Jason. Thank you for your reply. I tried with your suggestion.
>
> Django complained about putting then name of my laptop and its domain in
> allowed hosts (I had to put 'localhost' and '127.0.0.1' before). So I put
> it in settings.py and the. Result is the same with the same message.
>
> El jueves, 12 de julio de 2018, 13:27:50 (UTC+2), Jason escribió:
>>
>> you should use *0.0.0.0* for the ip address rather than 127.0.0.1
>>
>> On Thursday, July 12, 2018 at 7:22:33 AM UTC-4, Dikus Extrange wrote:
>>>
>>> Hi everyone. I'm accessing to a Django application through a ssh tunnel
>>> with putty as client. I run the server with ./manage.py run server
>>> 127.0.0.1:8000 and it starts right but launching an infinite and
>>> annoying message:
>>>
>>> Not found: /http:/127.0.0.1:8000/status
>>> [12/Jul/2018 10:02:59] "GET
>>> http://127.0.0.1:8000/status?plain&encode=b64&set_os_username=RE1Dxxxxx&osid=1
>>> HTTP/1.1" 404 1768
>>> ...
>>> ...
>>>
>>> Could anyone tell me if it's a bug of Django, a missconfiguration or
>>> what?
>>>
>>> Running the server without ssh tunneling is OK. I had to add
>>> localhost.localdomain and 127.0.0.1 to allowed hosts in settings.py.
>>>
>>> Django version 2.0.6.
>>>
>>> Thank you in advance.
>>> Dikus
>>>
>> --
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> 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/a42794fb-e9d8-4aa5-8e22-3180e4ef53eb%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/a42794fb-e9d8-4aa5-8e22-3180e4ef53eb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CAH9y-HygyFWSYymfoYQQC%2BkeOMJRq1uBPJ%2Ber3rboX8M1agREQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to