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