diff --git a/packages/jest-dev-server/src/index.ts b/packages/jest-dev-server/src/index.ts index ac4afd41..73d13927 100644 --- a/packages/jest-dev-server/src/index.ts +++ b/packages/jest-dev-server/src/index.ts @@ -165,7 +165,7 @@ const checkIsPortBusy = async (config: Config): Promise => { .once("listening", () => { server.once("close", () => resolve(false)).close(); }) - .listen(config.port); + .listen(config.port, config.host); }); };