Skip to content

Commit

Permalink
Merge pull request #7271 from Incanta/fix/port-forward-both-ip-families
Browse files Browse the repository at this point in the history
Use `127.0.0.1` for the host for the KubeClient port forwarding to force listening to IPv4
  • Loading branch information
jandubois committed Aug 3, 2024
2 parents e19fcfe + 22ec51a commit e6ce49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rancher-desktop/backend/kube/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ export class KubeClient extends events.EventEmitter {
});
server.once('listening', resolveOnce);
server.once('error', rejectOnce);
server.listen({ port: hostPort, host: 'localhost' });
server.listen({ port: hostPort, host: '127.0.0.1' });
});

return server;
Expand Down

0 comments on commit e6ce49e

Please sign in to comment.