A protocol analyzer such as Wireshark is the tool used to discover which TCP ports are open on a remote host by sending…