From 6f60ff74c0c0c3a18a102a58a3f2fc399a9f100e Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 6 Mar 2026 03:38:33 -0800 Subject: [PATCH] Listen on 0.0.0.0 (all interfaces) This is also helpful for local development, (allowing running LMNO on my laptop and then accessing it from other machines). --- lmno.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lmno.js b/lmno.js index 6359355..a220ea2 100644 --- a/lmno.js +++ b/lmno.js @@ -400,6 +400,6 @@ for (let key in engines) { app.use(`/${engine.meta.identifier}/[a-zA-Z0-9]{4}/`, router); } -app.listen(4000, function () { - console.log('LMNO server listening on localhost:4000'); +app.listen(4000, '0.0.0.0', function () { + console.log('LMNO server listening on 0.0.0.0:4000'); }); -- 2.45.2