I cannot access either wp-admin, or wp-login.php on a wordpress site. I'm not getting a 404, or a redirect, it simply says cannot connect in firefox.
if you want to access the control panel for wordpress just go to your browser and type in this http://localhost/foldername/wp-login.php?
There you are free to go make sure you don't leave out a question mark at the end. Respond if it works for you.