Vincent Hillenbrink  committed 0831cd5

runserver uses IP to listen to both local and network IP addresses

  • Participants
  • Parent commits b574a35

Comments (0)

Files changed (1)

File bin/djenvlib

 # Run development server on settings.LOCAL_SERVER_PORT, and restart
 # automatically. With -p as first argument, the server listens to
-# the network IP address instead of localhost.
+# the network IP address as well as localhost.
 function runserver() {
     _verify_project_root_and_django_project || return 1
     if [ "$1" = -p ]; then
-        local ip=`get_network_ip`:
+        local ip=
     local port=`get_django_setting LOCAL_SERVER_PORT 8000`