how to change django port code example
Example 1: change default port django
#!/bin/bash
exec ./manage.py runserver 0.0.0.0:<your_port>
Example 2: django runserver
python manage.py runserver
Example 3: django shell
python manage.py shell
#!/bin/bash
exec ./manage.py runserver 0.0.0.0:<your_port>
python manage.py runserver
python manage.py shell