Hello,
I am having a numerous errors like this in my Django app:
django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: 'localhost:10000'
I am fairly certain it is rather new, although I didn’t change my Django settings. I’ve seen the two other posts about this error in this forum, but they seem to be fairly specific. I have a global question.
I think it is wrong to add ‘localhost’ to my ALLOWED_HOST. Why should I do that. Nothing in the documentation indicates such setting. (note, my Django app is not deployed with Docker). Isn’t any little mistake in Render request’s headers ? I should not have these errors, by default, right ?
Thanks a lot.