When you say 'Yes 127.0.0.1 works' Do you mean that using 'http://127.0.0.1' will run browser to the wamp home page?
If so, this could be a IPV6 issue.
Check httpd.conf and anywhere you see
Allow from localhost
Make sure it says
Allow from localhost 127.0.0.1 ::1
You will also have to check the c:\wamp\alias\ all 3 .conf files in here and do the same thing.
Also check any VHOST definitions you may have.
It sounds like something has turned on IPV6 on your machine and the loopback i.e. the equivalent of 127.0.0.1 in IPV6 is '::1', so you just need to add this to the Apache security syntax so you are allowed to access Apache from an IPV6 address.
---------------------------------------------------------------------------------------------
(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-