Step 1: Open a command prompt.
Step 2: Type the following command and press Enter: netstat -ano > netstat.txt.
Step 3: In the same command prompt, type the following command and press Enter: tasklist > tasklist.txt.
Step 4: If you want to create a text file for services instead of programs, type the following command and press Enter: tasklist /svc > tasklist.txt.
Step 5: Open both the tasklist.txt and netstat.txt files.
Step 6: In the tasklist.txt file, locate and write down the Process Identifier (PID) for the process you are troubleshooting.
Step 7: Compare the PID from step 6 with the information in the netstat.txt file.
Step 8: Make a note of the protocol used in the netstat.txt file. This information will be useful when reviewing the firewall log file.