telnet list port code example Example 1: netstat find port netstat -na | find "8080" Example 2: linux telnet port telnet www.example.com 80