After Baidu, know that the reason is that the port has been opened by other processes
Use the cmd command to see which program is consuming the 8002 port
C:\windows\system32>netstat-ano | Find "8002"
TCP 0.0.0.0:8002 0.0.0.0:0 LISTENING 2884
TCP [::]:8002 [::]:0 LISTENING 2884
The 2884 above is the PID, the number of the process
Bring up Task Manager, sort by process number, find this process
Http://www.file.net/process/smsvchost.exe.html
Before the computer has set the NETTCP boot automatically start, the default open this EXE
Kill the process straight away.
Seemingly kill, the process will start itself, it is estimated that the Net.TCP service is involved
The direct replacement port is 8003, which solves the problem.
Error message: A TCP error (10013: An attempt to access a socket is made in a manner not permitted by access rights. ) occurred while listening on IP endpoint=192.168.1.18:8002.