Ver Fonte

Don't bind to all interfaces by default in web server

lsileoni há 1 ano atrás
pai
commit
4815eb10a9
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      incubator/x86emu/v86starter.sh

+ 2 - 2
incubator/x86emu/v86starter.sh

@@ -36,5 +36,5 @@ cp -r "$ROOT_DIR/vm/v86/static/debian-9p-rootfs-flat/" "$ROOT_DIR/www/images/9p-
 
 # Start a HTTP server
 cd "$ROOT_DIR/www/" || exit
-echo "Opening a server on port 8080"
-python3 -m http.server 8080
+echo "Opening a server on localhost with port 8080"
+python3 -m http.server -b 127.0.0.1 8080