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.

f:id:sho322:20140505093254j:plain

"-a" Display the status of port.
"-n" Not Name resolution

If you want to see process id, use "-o" option.

f:id:sho322:20140505093300j:plain

And then, enter "tasklist",

f:id:sho322:20140505093309j:plain

you can confirm specific PID to be used by.