Skip to content

Commit

Permalink
Use '127.0.0.1' instead of 'localhost' to avoid ipv4/ipv6 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-fleck-at committed Nov 14, 2023
1 parent 7cb92ef commit 7b92289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/node/launch/socket-cli-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface SocketLaunchOptions extends LaunchOptions {
export const defaultSocketLaunchOptions: Required<SocketLaunchOptions> = {
...defaultLaunchOptions,
port: 0,
host: 'localhost'
host: '127.0.0.1'
};

export function createSocketCliParser<O extends SocketLaunchOptions = SocketLaunchOptions>(
Expand Down

0 comments on commit 7b92289

Please sign in to comment.