Hi, guys.

I'm not working in django, but if you go to your hosts file then you need
to set the IP address (domain name) and port in there that you going to
use. The server then will pick up the IP address that you set for your
project.

Blessings
Christo Kriegler

Founder / President

Management | Advertron
+2787 073 5706 <+2787+073+5706> | +2782 440 7831 <+2782+440+7831>
chri...@advertron.co.za
www.advertron.co.za


On Fri, Dec 18, 2020 at 6:29 PM Parul. <parul.281...@gmail.com> wrote:

> Hi,
> I am also facing this issue
> tried   I had to add 127.0.0.1 to ALLOWED_USERS in settings.py but still
> issue not resolved, also tried '*' in ALLOWED_HOSTS...
> used 0.0.0.0:8000/8080 as well...still facing that issue
> can anybody please help
>
> On Friday, June 8, 2018 at 7:04:58 PM UTC+5:30 Илья Барков wrote:
>
>> I had a similar problem in Firefox, in other browsers everything worked
>> well. Cleared the cache and cookies!
>>
>> https://support.mozilla.org/en-US/kb/websites-dont-load-troubleshoot-and-fix-errors#w_the-problem-only-happens-with-certain-websites
>>
>> 2018-06-06 4:33 GMT+03:00 James Farris <jamesa...@gmail.com>:
>>
>>> What’s the actual error?
>>>
>>> Did you mean ALLOWED_HOSTS? If so you can just add:
>>> ALLOWED_HOSTS=[‘*’]
>>>
>> On Tue, Jun 5, 2018 at 12:55 PM Jamie Roberts <jamie.ro...@gmail.com>
>>> wrote:
>>>
>> Hi,
>>>>
>>>> This is from memory and may not be your problem but ... I had to add
>>>> 127.0.0.1 to ALLOWED_USERS in settings.py
>>>>
>>>> Sent from my iPhone
>>>>
>>>
>>>> On 5 Jun 2018, at 16:38, Avitab Ayan Sarmah <avita...@gmail.com> wrote:
>>>>
>>>> While going through the turolal 7 of the django project, couldn't
>>>> connect to the url.Please comment why my local host refused to connect
>>>>
>>>> --
>>>> 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...@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/e948142e-163f-4a82-bc91-46c16c292c5d%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/django-users/e948142e-163f-4a82-bc91-46c16c292c5d%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...@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/93BADF4F-E86D-47B7-9034-1D61408850D6%40gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/93BADF4F-E86D-47B7-9034-1D61408850D6%40gmail.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...@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/CAE-E-_0fGD-7a%3DY4w-%2BjvR%3DZ3Zj6QdyRmZgc9PDWjXuaW_gX2A%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAE-E-_0fGD-7a%3DY4w-%2BjvR%3DZ3Zj6QdyRmZgc9PDWjXuaW_gX2A%40mail.gmail.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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/53a13c9f-3865-46c0-99c1-d2957ed90118n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/53a13c9f-3865-46c0-99c1-d2957ed90118n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA4mTE%3D%3Ds3%2BxCEep8ivUgHkbW_c3k1%2Bz_T6hPA8GpiqiKtd%3DKw%40mail.gmail.com.

Reply via email to