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
|
On Fri, Dec 18, 2020 at 6:29 PM Parul. <parul.281997@gmail.com> wrote:
Hi,I am also facing this issuetried 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 issuecan 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.pySent from my iPhoneWhile 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.
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.
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 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.
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 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.
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.
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/CAA4mTE%3D%3Ds3%2BxCEep8ivUgHkbW_c3k1%2Bz_T6hPA8GpiqiKtd%3DKw%40mail.gmail.com.
No comments:
Post a Comment