How to check the port number of an application:
1. Find the process ID (PID) of the application
If you don't see the PID column, follow the picture below
2. According to the process ID, execute the dos command to view the port number
netstat -ano|findstr {process ID}
The part marked in red is the port number we want
Reference link: https://zhidao.baidu.com/question/39142441.html