From 9d7d7c703e898a4c742e5ec3e04dcb196e0adcd7 Mon Sep 17 00:00:00 2001 From: skipidar Date: Sun, 5 Aug 2018 08:35:53 +0200 Subject: [PATCH] binding to 0.0.0.0 I would ask to add a binding to 0.0.0.0. This would make it easier to execute this application in VMs, containers. Without that parameter - the applicaiton would bind to a private network interface and only respond to "localhost", but not to queries to the public ip of the container or vagrant VM. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b82c9de..4313983 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "description": "A single-page web app, based on angular4, utilizing Amazon Cognito, S3, and DynamoDB (serverless architecture)", "angular-cli": {}, "scripts": { - "start": "ng serve --port 3333", + "start": "ng serve --port 3333 --host=0.0.0.0", "startnode": "node ./bin/www", "lint": "tslint \"src/**/*.ts\"", "test": "ng test",