1. Open the command prompt, enter netsh winsock reset in the interface, and press Enter to repair, as shown in the figure:
2. We can also disable the local connection and then enable it. Click in turn: Start menu ---> Select "Categories" as View mode in Control Panel, ---> Click "Network and Internet" ---> Then click "Network and Sharing Center", -- ->Click on the local connection and come to the window below. We can disable the local connection and then enable it.
Disable local connection
Enable local connection
If the above method does not work, it may also be caused by incorrect IP address and DNS settings. Please do the following.
1. We can set the IP acquisition method to dynamic acquisition, right-click the local connection, and select the "Properties" item in the pop-up menu.
2. Then open the "Internet Protocol Version 4 (TCP/IPv4)" properties.
3. Check "Obtain an IP address automatically" in the window that opens, and click the "OK" button. The DNS can be modified. The first choice is 114.114.114.144, and the backup: 8.8.8.8. and re-enable local area connection to try to resolve the issue.