If you wish to run you django server in other than port 8000 here is a solution for you.
SOLUTION-1:
- Create a bash script like the following
#!/bin/bash
exec ./manage.py runserver 0.0.0.0:<your_port>
Note: change <your_port> with the port number you want.
- Save it as runserver in the same dir where manage.py is present.
- and run it as ./runserver.
ALTERNATIVE SOLUTION:
Actually the easiest way to change (only) port in development Django server is just like:
python manage.py runserver <your_port>
Note: change <your_port> with the port number you want