If this 5000 port happens to be the process started by the current ordinary user, then you can intuitively see the process PID. If this 5000 port is not the process started by the current ordinary user, it is impossible to obtain the process PID of other users. Port inspection method: use PID to query port number, and use process name to query occupied port.