Hi,
First the hosts file should contain
127.0.0.1 localhost
::1 localhost
Second, WAMPServer out of the box is configure as a single user environment, as a security measure for the inexperienced.
By this I mean Apache is configured to only accept connections from the local machine.
If you want to access Apache from another PC on your network you have to configure Apache accordingly.
The simple way is to use the wampmanager menus :-
1. Right click wampmanager -> WAMP Settings - Memu Item: Online/Offline
2. left click wampmanager -> Put Online
This will edit the httpd.conf file and change the security setting to allow Apache to accept connections from ANY IP IN THE UNIVERSE. and restart Apache to pick up this new config
A more secure way to do it would be to edit the httpd.conf file manually using the wampmanager menus
wampmanager -> Apache -> httpd.conf
Look for this section of the config
# onlineoffline tag - don't remove
Require local
And amend it to something like this
# onlineoffline tag - don't remove
Require local
Require ip 192.168.1
Assuming your subnet ip addresses start with 192.168.1 this will allow any ip on your internal subnet access to apache
You could be more specific if you wanted to be and do
# onlineoffline tag - don't remove
Require local
Require ip 192.168.1.100
Require ip 192.168.1.101
Require ip 192.168.1.102
---------------------------------------------------------------------------------------------
(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-