Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/utils/manage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function fetchHealth(): Promise<boolean> {
// for example, if localstack becomes unhealthy while running for reasons other that stop then reporting "stopping" may be misleading.
// though we don't know if it happens often.
try {
const response = await fetch("http://localhost:4566/_localstack/health");
const response = await fetch("http://127.0.0.1:4566/_localstack/health");
return response.ok;
} catch {
return false;
Expand All @@ -28,7 +28,7 @@ async function fetchLocalStackSessionId(): Promise<string> {
try {
// TODO info endpoint is not available immediately
// potentially improve this later for tracking "vscode:emulator:started"
const infoResponse = await fetch("http://localhost:4566/_localstack/info");
const infoResponse = await fetch("http://127.0.0.1:4566/_localstack/info");
if (infoResponse.ok) {
const info = (await infoResponse.json()) as { session_id?: string };
return info.session_id ?? "";
Expand Down