Another way
You can also use TcpView from the Sysinternals guys at Microsoft Technet to see the same information. Its a windows based application instead of command line.
It keeps a live view on the connections, showing new ones in green highlight, closed connections in red highlight, and much more too.
You really should download the Sysinternals Suite, as there's so many useful utilities in there.