explicitly listen to all IPv4 interfaces

This commit is contained in:
Manish 2025-06-19 18:49:30 +10:00
parent 1ef305bd3c
commit 9ec88a3e0a

View File

@ -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);
});