Skip to content

Commit 8d4604e

Browse files
Timergaearon
authored andcommitted
Default to 0.0.0.0 (#2117)
1 parent 70768b3 commit 8d4604e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/scripts/start.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const DEFAULT_PORT = parseInt(process.env.PORT, 10) || 3000;
5454

5555
function run(port) {
5656
const protocol = process.env.HTTPS === 'true' ? 'https' : 'http';
57-
const host = process.env.HOST || 'localhost';
57+
const host = process.env.HOST || '0.0.0.0';
5858

5959
// Create a webpack compiler that is configured with custom messages.
6060
const compiler = createWebpackCompiler(

0 commit comments

Comments
 (0)