File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -834,7 +834,7 @@ async function updateIpcHookCli(context: GitpodExtensionContext): Promise<void>
834
834
try {
835
835
await new Promise < void > ( ( resolve , reject ) => {
836
836
const req = http . request ( {
837
- hostname : 'localhost ' ,
837
+ hostname : '127.0.0.1 ' ,
838
838
port : context . devMode ? 9888 /* From code-web.js */ : context . info . idePort ,
839
839
protocol : 'http:' ,
840
840
path : `/cli/ipcHookCli/${ encodeURIComponent ( context . ipcHookCli ! ) } ` ,
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export class SupervisorConnection {
42
42
normal : 15 * 1000 ,
43
43
short : 5 * 1000
44
44
} ;
45
- private readonly addr = process . env . SUPERVISOR_ADDR || 'localhost :22999' ;
45
+ private readonly addr = process . env . SUPERVISOR_ADDR || '127.0.0.1 :22999' ;
46
46
private readonly clientOptions : Partial < grpc . ClientOptions > ;
47
47
readonly metadata = new grpc . Metadata ( ) ;
48
48
readonly status : StatusServiceClient ;
You can’t perform that action at this time.
0 commit comments