Access to your localhost is controlled by the Virtual Host that defines localhost. As it is for ALL Virtual Hosts you define.
So it you made the mistake of changing the VH definition of localhost to `Require all granted` that would explain why it is visible from outside the PC running WAMPServer
Make sure the Virtual Host for localhost has
Require local
in its definition, then only the PC running WAMPServer will be able to connect to it.
---------------------------------------------------------------------------------------------
(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-