Why Can't I Connect To My Localhost Django Dev Server?
I'm creating a django app and in the process of setting up my local test environment. I can successfully get manage.py runserver working but pointing my browser to any variation of
Solution 1:
The OP posted the solution in the original question' comments but he/she seem to have forgotten to post it as an aswer. So here it is:
Ok so the problem is because of the https, thus getting redirected, as localhost is working on http, try to comment out this line and check SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') and also comment out the sslify from middleware as said by @ShobhitSharma
Post a Comment for "Why Can't I Connect To My Localhost Django Dev Server?"