If none of the other solutions worked, what you can consider is to switch to a different type of Internet connection. For example, if you were connected via Wi-Fi, connect via Ethernet cable now, and if you were connected via Ethernet cable, connect via Wi-Fi now.
If none of the other solutions worked, it is possible that the router has malfunctioned and needs to be replaced. If you have a modem, connect your computer to the Internet directly via the modem. If your connection wasn't limited, then the router was the culprit, and replacing the router would fix the issue.
Maybe the Ethernet cable is damaged, preventing a proper connection flow. Before you decide to buy a new Ethernet cable, try plugging in the cable in another computer. If the same error appears there, too, consider replacing the cable.
If none of the other solutions worked, it is possible that the computer's network card has been damaged, depriving your computer of Internet access. In this case, what you need to do is to take your computer to a repair shop, and have the network card fixed.
If you don’t receive the email in the next 2 minutes please check your junk folder, and add [email protected] to your safe sender list.