Server
Open CMD
C:\Users\AECN>ipconfig
Windows IP Configuration
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . : bbrouter
IPv6 Address. . . . . . . . . . . : 2001:4490:4c6d:3711:704b:cab5:304d:ceb7
IPv6 Address. . . . . . . . . . . : 2001:4490:4c6d:b2a3:c3b6:301d:9faf:f6c
Temporary IPv6 Address. . . . . . : 2001:4490:4c6d:3711:5932:79d:904b:fdfd
Temporary IPv6 Address. . . . . . : 2001:4490:4c6d:b2a3:5932:79d:904b:fdfd
Link-local IPv6 Address . . . . . : fe80::f83a:f49a:b92:4e5d%4
IPv4 Address. . . . . . . . . . . : 192.168.1.27
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : fe80::1%4
192.168.1.1
Python
python --version
python -m pip install django
python -m django --version
python -m django startproject aecpro
go to aecpro folder
add
settings.py chnage this line
ALLOWED_HOSTS = ["0.0.0.0","*"]
after run this on cmd
python manage.py runserver 0.0.0.0:8080
http://192.168.1.27:8080/
|