fix: usa localhost em vez de 127.0.0.1 para conectar ao Kernel

No container Docker, 127.0.0.1 pode não resolver corretamente
para o próprio container. localhost é mais confiável.
This commit is contained in:
Jonas Pacheco 2026-04-08 12:11:11 -03:00
parent 71e2b654bd
commit 524a049d03
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ async function fetchRegistryServicesWithRetry(maxRetries = 3, delay = 500): Prom
async function fetchRegistryServicesOnce(): Promise<any[] | null> {
return new Promise((resolve) => {
const options = {
hostname: '127.0.0.1',
hostname: 'localhost',
port: 5001,
path: '/api/registry/services',
method: 'GET',