Can't Load Django Dev Sever

18 views
Skip to first unread message

James

unread,
Nov 11, 2022, 12:13:35 AM11/11/22
to Django users
Hello,

I can't connect to my django web server and it's all my fault. I turned on SECURE_HSTS_SECONDS to 60 by accident in development, in another project, a few days ago.

Now I can not load http://127.0.0.1:8000 on FireFox and I don't know how to fix it. And yes runserver is set to that port/ip and yes I can connect in incognito mode and in chrome.

I have cleared all caches and cookies.

Thanks very much!

Mike Dewhirst

unread,
Nov 11, 2022, 2:37:09 AM11/11/22
to django...@googlegroups.com
Try visiting http://localhost:8000 instead

No guarantees and I'm not going to test it myself ;-)





--
(Unsigned mail from my phone)

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/29a776ee-e840-45ad-885b-3f5752c9466fn%40googlegroups.com.

Ahmad Abdulnasir Shuaib

unread,
Nov 11, 2022, 3:01:56 AM11/11/22
to django...@googlegroups.com
Try clearing cache and cookies for 127.0.0.1

James

unread,
Nov 11, 2022, 3:46:55 AM11/11/22
to Django users
Thanks so much! I thought I was doing something wrong when I deleted the cache and cookies and nothing happened. Just needed to restart my computer after clearing the cache/cookies; may have been a firefox bug!

Thanks again for you help!

Best Regards,

-James Logan
Reply all
Reply to author
Forward
0 new messages