I want to check whether the local port number is running, cmd, and then why is netstat-a invalid?
First, check whether there is a file named netstat.exe in the system32 folder under the Windows folder. If yes, you can enter the Windows/system32 folder under DOS, and then use the netstat.exe-an command, which should be enough; If not, then you can't use environment variable settings or other methods. Reinstall a complete system.