Computer communication via internet only can work if TCP/IP working properly. I’m sure you have seen after many ipconfig/renew/release and flushdns and REBOOT still PC cannot get IP. In my experience this is related to corruption in TCP/IP and of course you need to check the cable or WIFI is connected before all of this 🙂
Anyway here is how to reset those corrupted TCP/IP stack and make sure to reboot the PC after reset and RUN the command prompt in ADMIN mode.Also if you have static IP, remember to note them down, because this will wipe those out!
Before all of this in my experience resetting socket also can fix many ip stack related issues and here is the command.
netsh winsock reset
Reset the ipv4
netsh int ip reset
if you want to reset ipv6
netsh int ipv6 reset
If you want to re-install the stcack,
END of the RESET.