Ahh I read the question again and you are using Chrome.
Chrome does something odd with localhost, I guess to protect Joe Public from something !?!?!?
There appear to be a number of possible solutions, but this one seem to be the current favorite :-
Go to chrome://flags and set "Built-in Asynchronous DNS" to "Disabled", then restart the browser.
My Chrome works with this setting set to Default, so I obviously found another solution but I cannnot remember what it was.
There is quite a lot of chatter out there about this Chrome specific issue, so maybe you can find another solution. If so let us know what it is and I will try and build a list of fixes.
As you are, I assume, trying to use WAMPServer as a development environment, you should also have IE,FireFox,Opera and maybe some other browsers. I suggest you use one of those, and enter 'localhost' in the address bar. If they work its definitely a Chrome specific issue.
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-