You can run it for machines in your network by
./manage.py runserver 0.0.0.0:8000
And than you will be able to reach you server from any machine in your network.
Just type on other machine in browser http://192.168.0.1:8000
where 192.168.0.1
is IP of you server... and it ready to go....
or in you case:
- On machine
A
in command line ./manage.py runserver 0.0.0.0:8000
- Than try in machine
B
in browser type http://A:8000
- Make a sip of beer.
Source from django docs
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…