From 4815eb10a9d005d2440f9c6e751a22ce51b74b82 Mon Sep 17 00:00:00 2001 From: lsileoni Date: Thu, 11 Apr 2024 12:41:17 +0300 Subject: [PATCH] Don't bind to all interfaces by default in web server --- incubator/x86emu/v86starter.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/incubator/x86emu/v86starter.sh b/incubator/x86emu/v86starter.sh index 85f9cbbbe..506455df0 100755 --- a/incubator/x86emu/v86starter.sh +++ b/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