From 9ec88a3e0a24cda895700c0e525ea87ed637149a Mon Sep 17 00:00:00 2001 From: Manish Date: Thu, 19 Jun 2025 18:49:30 +1000 Subject: [PATCH] explicitly listen to all IPv4 interfaces --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 55f1142..622982b 100644 --- a/index.js +++ b/index.js @@ -23,6 +23,6 @@ app.post("/api/fileanalyse", upload.single("upfile"), (req, res) => { }); }); -app.listen(PORT, function () { - console.log("Your app is listening on port " + PORT); +app.listen(PORT, "0.0.0.0", function () { + console.log('Your app is listening on interface "0.0.0.0" and port ' + PORT); });