allow other hosts
This commit is contained in:
@@ -13,7 +13,7 @@ app.get('/', (req, res) => {
|
|||||||
res.send(clientIp);
|
res.send(clientIp);
|
||||||
});
|
});
|
||||||
|
|
||||||
app.listen(PORT, () => {
|
app.listen(PORT, '0.0.0.0', () => {
|
||||||
console.log(`IP Pinger service running on port ${PORT}`);
|
console.log(`IP Pinger service running on port ${PORT}`);
|
||||||
console.log(`Visit http://localhost:${PORT} to see your IP`);
|
console.log(`Visit http://localhost:${PORT} to see your IP`);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user