diff --git a/server/index.ts b/server/index.ts index 721aaaa..97ab855 100644 --- a/server/index.ts +++ b/server/index.ts @@ -323,13 +323,13 @@ const websocketServer = new WebSocketServer({ port: Config.ports.ws }, () => { Console.printInfo(`WebsocketServer listening at ws://localhost:${Config.ports.ws}`); - fastify.listen({ port: Config.ports.http }, (err, address) => { + fastify.listen({ port: Config.ports.http, host: "0.0.0.0" }, (err, address) => { if (err) { Console.printError(`Error occured while spinning up fastify:\n${err}`); process.exit(1); } - Console.printInfo(`Fastify listening at ${address.replace("[::1]", "localhost")}`); + Console.printInfo(`Fastify listening at ${address.replace("0.0.0.0", "localhost")}`); Console.printInfo("MultiProbe is ready to go!"); });