File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ async function fetchHealth(): Promise<boolean> {
1717 // for example, if localstack becomes unhealthy while running for reasons other that stop then reporting "stopping" may be misleading.
1818 // though we don't know if it happens often.
1919 try {
20- const response = await fetch ( "http://localhost :4566/_localstack/health" ) ;
20+ const response = await fetch ( "http://127.0.0.1 :4566/_localstack/health" ) ;
2121 return response . ok ;
2222 } catch {
2323 return false ;
@@ -28,7 +28,7 @@ async function fetchLocalStackSessionId(): Promise<string> {
2828 try {
2929 // TODO info endpoint is not available immediately
3030 // potentially improve this later for tracking "vscode:emulator:started"
31- const infoResponse = await fetch ( "http://localhost :4566/_localstack/info" ) ;
31+ const infoResponse = await fetch ( "http://127.0.0.1 :4566/_localstack/info" ) ;
3232 if ( infoResponse . ok ) {
3333 const info = ( await infoResponse . json ( ) ) as { session_id ?: string } ;
3434 return info . session_id ?? "" ;
You can’t perform that action at this time.
0 commit comments