Update URL to use 127.0.0.1 instead of localhost

This commit is contained in:
Nicolas Barraud
2025-03-30 13:13:36 -04:00
parent dae389034a
commit a63de622f8

View File

@@ -108,7 +108,7 @@ async function runWebClient(args: Args): Promise<void> {
await Promise.any([server, client, delay(2 * 1000)]); await Promise.any([server, client, delay(2 * 1000)]);
const portParam = SERVER_PORT === "3000" ? "" : `?proxyPort=${SERVER_PORT}`; const portParam = SERVER_PORT === "3000" ? "" : `?proxyPort=${SERVER_PORT}`;
console.log( console.log(
`\n🔍 MCP Inspector is up and running at http://localhost:${CLIENT_PORT}${portParam} 🚀`, `\n🔍 MCP Inspector is up and running at http://127.0.0.1:${CLIENT_PORT}${portParam} 🚀`,
); );
try { try {