piing a specific port code example
Example 1: process runninng on particular port
sudo ss -lptn 'sport = :80'
Example 2: listen to port
app.express.listen(PORT, () => {
console.log(`App listening on port ${PORT}`);
});
sudo ss -lptn 'sport = :80'
app.express.listen(PORT, () => {
console.log(`App listening on port ${PORT}`);
});