winget install --id=Microsoft.Sysinternals.TCPView -e copy winget command to clipboard
TCPView is a Windows program that will show you detailed listings of all TCP and UDP endpoints on your system, including the local and remote addresses and state of TCP connections.