Using netstat to check network connections

A project I was working on involved using express JS to host a server.

To see if the network interface works one can do:

netstat -lnt | grep <PORT>