[Django]-Invalid address when startup gunicorn

3đź‘Ť

âś…

It’s obviously not your problem, but it is confusing that you’re calling your configuration file “gunicon_wsgi.py”. It’s not your WSGI file. Call it “gunicorn_conf.py” or something similar.

Your problem is however that you have misunderstood what it means to bind to an IP address. You can’t bind your gunicorn server to an IP address on a different machine; that makes no sense at all. And it’s not “insecure” to bind to 0.0.0.0.

Leave a comment