"netstat-ano | findstr10002 can't find the port number, and telnet127.0.0.10002 can't connect." According to the operating system, this port is not occupied. Although "check whether the service exists and whether the pid exists in the task manager", it only shows that the program has started, and the part of the program that applies the port (listening port) may not run correctly.
It is recommended to check whether the application (code or log) is successful when starting the listening port 10002.