How can I see all active connections?
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5
--
Chapters
00:00 How Can I See All Active Connections?
00:24 Accepted Answer Score 66
02:08 Answer 2 Score 21
02:23 Answer 3 Score 0
02:39 Answer 4 Score 0
02:55 Thank you
--
Full question
https://superuser.com/questions/11207/ho...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows #connection #internetconnection
#avk47
ACCEPTED ANSWER
Score 66
You are looking for the netstat
command. This command should provide what you're looking for:
netstat -a
if you would also like to see what programs are using the specified ports you can use:
netstat -b
to use the netstat program:
- Go to the start menu (or press Win + r and skip to step 3)
- If on XP, click "Run", If on vista or later, search for
cmd
in the search box and skip to step 4. - type
cmd
- after
cmd
opens, typenetstat -a
- a list of all open connections with their ports will be displayed
more info about netstat:
C:\Documents and Settings\Administrator>netstat /? Displays protocol statistics and current TCP/IP network connections. NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval] -a Displays all connections and listening ports. -b Displays the executable involved in creating each connection or listening port. In some cases well-known executables host multiple independent components, and in these cases the sequence of components involved in creating the connection or listening port is displayed. In this case the executable name is in [] at the bottom, on top is the component it called, and so forth until TCP/IP was reached. Note that this option can be time-consuming and will fail unless you have sufficient permissions. -e Displays Ethernet statistics. This may be combined with the -s option. -n Displays addresses and port numbers in numerical form. -o Displays the owning process ID associated with each connection. -p proto Shows connections for the protocol specified by proto; proto may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s option to display per-protocol statistics, proto may be any of: IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6. -r Displays the routing table. -s Displays per-protocol statistics. By default, statistics are shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6; the -p option may be used to specify a subset of the default. -v When used in conjunction with -b, will display sequence of components involved in creating the connection or listening port for all executables. interval Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If omitted, netstat will print the current configuration information once.
ANSWER 2
Score 21
I would also recommend running Autoruns and Process Explorer, also in the Sysinternals Suite to help diagnose your problem.
ANSWER 3
Score 0
Prio (http://www.prnwatch.com/prio.html) can provide, as part of the Windows Task Manager, an updating list connections with some additional context that may help you make sense of what is going on.
ANSWER 4
Score 0
Another alternative is Extensoft Free Task Manager Extensions
You can see the active ports aligned with the processes in use.
It adds a lot of functionality to the task manager and it is all contained in one area.