It annoys me that cmd suddenly reported this error to me. . . However, the solution to this problem is to write an instruction, the instruction is as follows:
netsh winsock reset
Write this command and press the OK button, and then restart the computer as prompted.