Skip to content

Commit

Permalink
Merge pull request #67 from eclipse-glsp/issues/1164
Browse files Browse the repository at this point in the history
Use '127.0.0.1' instead of 'localhost' to avoid ipv4/ipv6 issues
  • Loading branch information
martin-fleck-at authored Nov 14, 2023
2 parents 1c47d6b + 7b92289 commit 9f86a52
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 9f86a52

Please sign in to comment.