Check the cables. Now, if you have confirmed that the electrical outlet is working properly and you are getting lights on the front of your router, then you need to check the network cable between your PC and your router. If you have a wireless router and are having trouble connecting by that method, then you need to troubleshoot first by trying to connect with a hard-wired connection, as it is easier to troubleshoot a hard-wired connection than a wireless one (once you have successfully established connectivity through a wired connection, you can resume troubleshooting wireless connectivity).
Normally, your router should include at least one network cable for connecting devices directly to it. Use this cable to connect your PC to your router.. On the front of the router are a series of lights (these differ in color by manufacturer) which indicate the presence of a network connection over the network cable (or Ethernet cable) between your PC and router.
Locate the network cable which runs from your router to your PC and unplug it from the back of the router. Does one of the lights go out? If so, that is a good sign. If not, then go to the PC end of the network cable and locate where it connects to your PC. Right around this connection there are usually a set of led lights indicating a network connection.
By removing your network cable from the PC, you should see the lights go out. And, with your PC powered on, removing this cable will also usually cause a message to come up on your Windows-based PC indicating that your network connection has been lost. If this happens, then it appears that at least your router and PC are ‘talking’ to each other. This is usually noted by the ‘flashing’ activity of these lights.