Django is running on private ip instead of the public one, is it problematic? -
i configured server , before installing gunicorn + nginx wanted try django runserver.
so, have public ip , private one. front (simple index.html + react) correctly deserving public ip, django pass private 1 when start ./manage.py runserver 0.0.0.0:8080
when try: ./manage.py runserver public.i.p:8080
have error:
error: ip address can't assigned to.
is normal?
you cannot assign public ip this. when running "python manage.py runserver 0.0.0.0:80", means django server accept connections sources. eg., if public ip of server 52.24.33.24 , run django server using "python manage.py runserver 0.0.0.0:80", typing 52.24.33.24 in browser should take django site.
Comments
Post a Comment