Skip to content

Commit

Permalink
fix chrome connection in node 17, use 127.0.0.1 explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored Nov 2, 2021
2 parents 56731dd + ba8d76b commit 3e65a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chrome-launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ class Launcher {
// resolves if ready, rejects otherwise
private isDebuggerReady(): Promise<void> {
return new Promise((resolve, reject) => {
const client = net.createConnection(this.port!);
const client = net.createConnection(this.port!, '127.0.0.1');
client.once('error', err => {
this.cleanup(client);
reject(err);
Expand Down

0 comments on commit 3e65a66

Please sign in to comment.