Skip to content

Commit

Permalink
fix: replace localhost with ipv4 to avoid ipv6 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
eight04 committed Oct 27, 2021
1 parent 96d40a1 commit fd80612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension-runners/chromium.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class ChromiumExtensionRunner {
// Start a websocket server on a free localhost TCP port.
this.wss = await new Promise((resolve) => {
const server = new WebSocket.Server(
{port: 0, host: 'localhost'},
{port: 0, host: '127.0.0.1'},
// Wait the server to be listening (so that the extension
// runner can successfully retrieve server address and port).
() => resolve(server));
Expand Down

0 comments on commit fd80612

Please sign in to comment.