From 37a1338d819346ef7129c1d78eed8c82d605aaea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Santos?= <32710188+antonio-santos@users.noreply.github.com> Date: Wed, 1 Apr 2020 09:22:04 +0100 Subject: [PATCH] Added 0.0.0.0 to Deployment Configuration Doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There was a problem in Heroku when using the default "localhost". We must change it to "0.0.0.0". We can help others by adding this to the documentation so they don't have to invest much time to find the solution like me. Signed-off-by: António Santos --- docs/3.0.0-beta.x/guides/deployment.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/3.0.0-beta.x/guides/deployment.md b/docs/3.0.0-beta.x/guides/deployment.md index adacb414b9..25db2a2b6e 100644 --- a/docs/3.0.0-beta.x/guides/deployment.md +++ b/docs/3.0.0-beta.x/guides/deployment.md @@ -16,7 +16,7 @@ Update the `production` settings with the IP or domain name where the project wi ```js { - "host": "domain.io", // IP or domain + "host": "domain.io", // IP or domain or 0.0.0.0 "port": 1337 } ``` @@ -30,7 +30,7 @@ If you are passing a number of configuration item values via environment variabl ```js { - "host": "${process.env.APP_HOST || '127.0.0.1'}", + "host": "${process.env.APP_HOST || '0.0.0.0'}", "port": "${process.env.NODE_PORT || 1337}" } ```