So this is a so called "localhost" installation, i.e. the web server runs in the same computer where your browser runs? What is the operating system. Some, like Windows desktop OSes, don't know what localhost is, you have to say 127.0.0.1.
Independent of that, you always visit Moodle by entering URL in the line $CFG->wwwroot in your config.php. What do you have there?
P.S. This is not a developer question, for Installing and migrating help forum rather.