There are many ways to confirm the status of connection.
The most useful way is to use "netstat" command.
This is an example of netstat command.
"-a" Display the status of port.
"-n" Not Name resolution
If you want to see process id, use "-o" option.
And then, enter "tasklist",
you can confirm specific PID to be used by.