If other devices also fail, it’s router/ISP.
Settings → Network → Advanced → More network adapter options.
Command Prompt (Admin): ipconfig /release then ipconfig /renew
ipconfig /release
ipconfig /renew