Restart your pc and router and try again.
Otherwise, try to reset network connections: Open PowerShell or CMD and run as administrator, copy and paste the following commands by pressing enter at the end of each command line:
netsh winsock reset
netsh int ip reset
ipconfig /flushdns
Restart your pc.