Solving problems with tethering wifi from an Android phone
Once I tried to connect from Win10 to a hotspot running off Google Pixel 2
(Android 8.1.0) connected to T-Mobile (tethering) and it worked for a while,
but one day it just broke. Connection would work for 5-10 seconds allowing
to load one website maybe, but then it threw some DNS errors. Setting DNS
server manually didn't help, also
ping 22.214.171.124 timed out.
The solution (from elevated cmd prompt):
netsh int ip reset c:\resetlog.txt netsh winsock reset catalog ipconfig /flushdns
And restart the computer.
Taken from this question @ answers.microsoft.com .