It sounds too simple, but most connectivity issues are fixed by power cycling the network equipment and restarting the computer having the issue.
This includes the cable modem or internet service provider equipment, and any switches or routers as well.