How to reset the winsock directory: first search cmd in the search box; then run the command prompt as an administrator; finally run the [netsh winsock reset] command in the open command prompt.
#The operating environment of this article: windows10 system, thinkpad t480 computer.
(Learning video sharing:Programming video)
Specific method:
1. Press the Windows Q assembly to open Cortana, and search in the search box Search for cmd, right-click on the command prompt and select [Run as administrator];
2. Run the command in the command prompt:
netsh winsock reset
3. After executing the command, we will be prompted to successfully reset the Winsock directory. You must restart the computer to complete the reset. We will restart the computer as prompted to complete the reset. !
The above is the detailed content of How to reset winsock directory. For more information, please follow other related articles on the PHP Chinese website!