From 0ccd734e317d6053bfa3cf5fd3f96d49cceaad63 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Mon, 18 Nov 2019 19:41:08 -0800 Subject: [PATCH] Update devcontainer.json --- .devcontainer/devcontainer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 087501a..71da354 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,7 +2,9 @@ "name": "Python Sample", "dockerFile": "Dockerfile", - // Specifies a list of ports that should be published from the container. + // Use 'appPort' to create a container with published ports. If the port isn't working, be sure + // your server accepts connections from all interfaces (0.0.0.0 or '*'), not just localhost. + // In this case, "--host 0.0.0.0 --port 9000" needs to be passed into Flask to make this happen. "appPort": [9000], // Comment out the next line to run as root instead. Linux users,