Sometimes you might want to see the active connections on a specific port, rather than just the status of the port. This can be done using netstat:
netstat -anp | grep <your_port>
Something like this will be output (for example for port 19356):
tcp6 0 0 :::19356 :::* LISTEN 7354/java tcp6 0 0 192.168.50.70:19356 192.168.50.75:50604 ESTABLISHED 7354/java tcp6 0 0 192.168.50.70:19356 192.168.50.80:39582 ESTABLISHED 2748/java
Lines containing ESTABLISHED are active connections on the specified port. In our case, there are two of them.
If you still have any questions, feel free to ask me in the comments under this article, or write me on email@example.com.
If I saved your day, you can support me :)