how to change 8000 port to 402 in django code example Example: change default port django #!/bin/bash exec ./manage.py runserver 0.0.0.0:<your_port>