I struggled with the same problem and found one solution. I think this can help you. when you run python manage.py runningerver, it will accept 127.0.0.1 as the default ip address and 8000. 127.0.0.0 is the same as localhost, which can be accessed locally. to access it from a cross source you need to run it on your ip system or 0.0.0.0. 0.0.0.0 can be obtained from any source on the network. for the port number, you need to set the outgoing and outgoing policies of your system if you want to use your own port number and not the default number.
To do this, you need to start the server with the python manage.py runserver 0.0.0.0:<your port> , as described above
or, set the ip and default port in your python environment. For this, see my answer on django change the port to start by default
Enjoy the coding .....
Amrendra Jun 29 '16 at 8:45 2016-06-29 08:45
source share