Can't run my Django app on hosting with Debug = False

I tried running my Django app on hosting, but when i typed

python manage.py runserver

with DEBUG = False, it threw me an error:

Error: That IP address can't be assigned to.

After that changed DEBUG to True, but it continued to throw me the same error. What should i do to solve it?

Tried to add my domain in ALLOWED_HOSTS, didnt work. Put 127.0.0.1 and localhost - same

Back to Top