There could be two things happening:
You might have a proxy enabled. Go to your Windows Network Settings and check if any proxy is active. If there is, remove or disable it and try again.
Make sure there's no VPN, proxy, or security software that could be affecting your network traffic.
Also, even if other devices in your home are working fine, restarting your equipment can help refresh the laptop’s network settings.
Create a new user profile in Windows: There may be some corrupted configuration in the current profile. Test your internet access using a new user account.