diff --git a/test/kinto-e2e/src/index.ts b/test/kinto-e2e/src/index.ts index 87ad6bb0..9082dc82 100644 --- a/test/kinto-e2e/src/index.ts +++ b/test/kinto-e2e/src/index.ts @@ -50,7 +50,7 @@ const runAgainstBlockHeight = async ({ forkBlockNumber: opInfo.blockNum - 1n }) - const altoRpc = `http://localhost:${altoPort}` + const altoRpc = `http://127.0.0.1:${altoPort}` const anvilRpc = `http://${anvil.host}:${anvil.port}` // spin up new alto instance diff --git a/test/kinto-e2e/src/setupAlto.ts b/test/kinto-e2e/src/setupAlto.ts index 85d4f297..356c1096 100644 --- a/test/kinto-e2e/src/setupAlto.ts +++ b/test/kinto-e2e/src/setupAlto.ts @@ -50,13 +50,13 @@ export const startAlto = async (rpc: string, altoPort: string) => { alto.stderr.on("data", (data) => console.log(data.toString())) await waitPort({ - host: "localhost", + host: "127.0.0.1", port: Number.parseInt(altoPort), output: "silent" }) while ( - !(await fetch(`http://localhost:${altoPort}/health`) + !(await fetch(`http://127.0.0.1:${altoPort}/health`) .then((res) => res.ok) .catch(() => false)) ) {