On Googling the problem, the steps seem similar in each link so give those a try.
Your Internet connection is obviously okay as you were able to post on here, but as a double check, open a Command Prompt (Admin) or Powershell Admin and enter these cmds -
netsh winsock reset
netsh int ip reset restlog.txt
ipconfig /release
ipconfig /renew
ipconfig /flushdns
ipconfig /registerdns
shutdown /r /t 00
Then see if you get the same error after the reboot.
BTW - I've identified you as a prolific spammer so hope this is a genuine query.