Friday, December 18, 2020

Re: This site can’t be reached 127.0.0.1 refused to connect.

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!

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+unsubscribe@googlegroups.com.

--
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+unsubscribe@googlegroups.com.

--
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+unsubscribe@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

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+unsubscribe@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.

No comments:

Post a Comment