Skip to content

Commit

Permalink
fix(web): next server pass custom hostname to startup port check (#18123
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tavvy committed Aug 1, 2023
1 parent b8a6621 commit 48deaec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/executors/server/server.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default async function* serveExecutor(
process.on('SIGTERM', () => killServer());
process.on('SIGHUP', () => killServer());

await waitForPortOpen(port);
await waitForPortOpen(port, { host: options.hostname });

next({
success: true,
Expand Down

1 comment on commit 48deaec

@vercel
Copy link

@vercel vercel bot commented on 48deaec Aug 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app
nx.dev
nx-five.vercel.app

Please sign in to comment.