Merge pull request #1987 from Tyriar/1986_localhost

Recommend 127.0.0.1:3000 on mac and linux too
This commit is contained in:
Daniel Imms
2019-03-30 15:36:42 -07:00
committed by GitHub
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ function startServer() {
var port = process.env.PORT || 3000,
host = os.platform() === 'win32' ? '127.0.0.1' : '0.0.0.0';
console.log('App listening to http://' + host + ':' + port);
console.log('App listening to http://127.0.0.1:' + port);
app.listen(port, host);
}