if you do not get a responce from localhost that means your network card is not working.

So next thing to do would be to go in to Device Manager. Right-click my computer go to properties at the bottom. Go to hardware tab and then to device manager. Find network adapters. Look at the icon next to the name if it has a red x that could mean there is something wrong with the drivers or the network card has been disabled. Try to enable it first. If that doesn't work roll back the drivers.