Not able to connect to wampserver in LAN
Posted by: leovipin1 (49.37.198.---)
Date: December 10, 2019 12:59PM

Hi,

I have recently installed wampserver 3.2.3. I am trying to connect to the wampserver from a system within the LAN, but i am not able to the same. I get This site can't be reached error.

I have added the host entry in the remote system in the hosts file.

Below are the details of my install.

1 - Windows version used - Windows 10 1809 64 Bit

2 - Version WampServer - 3.2.3 64 Bit

3 - Apache Version - 2.4.41

4 - PHP Version - 7.3.12

5 - MySQL Version - 8.0.18

5a - MariaDB version - 10.4.10

6 - What color is the WampServer icon (in the notification area of the taskbar) - Green

7 - In the file c:\Windows\System32\drivers\etc\hosts, what are the active lines? -
* Active means no # at the beginning of the line.
127.0.0.1 localhost
::1 localhost

127.0.0.1 reportntest.in
::1 reportntest.in


If the WampServer icon is green:

8 - Do you have access to localhost (Homepage WampServer)? - Yes
8a - If so, is there an error message at the bottom of the page? - No

9 - Do you have access to phpMyAdmin? - Yes

10 - If you refer to an error message, please include the EXACT wording of the error in your post - NA

11 - If you use an Antivirus and / or Firewall, please include the names of these - McAfee Enterprise Edition

12 - What is the full path to the installation of WampServer (eg D:\wamp\) - d:\wamp64

13 - If you have one or more Virtual Hosts defined, please show their definition(s)
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>


#
<VirtualHost *:80>
ServerName reportntest.in
DocumentRoot "d:/wamp64/www/test"
<Directory "d:/wamp64/www/test/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

Options: ReplyQuote
Re: Not able to connect to wampserver in LAN
Posted by: RiggsFolly (Moderator)
Date: December 10, 2019 02:35PM

Did you check that the firewall is not blocking access?

---------------------------------------------------------------------------------------------
(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 -- phpMyAdmin
Get 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-

Options: ReplyQuote
Re: Not able to connect to wampserver in LAN
Posted by: leovipin1 (49.37.198.---)
Date: December 10, 2019 03:17PM

I dnt have access to check the firewall is blocking it. But also i have installed same wampserver on another machine where there is no Firewall. There also it is the same scenario.

Options: ReplyQuote
Re: Not able to connect to wampserver in LAN
Posted by: RiggsFolly (Moderator)
Date: December 10, 2019 03:18PM

So can you show us the contents of the HOSTS file on the machine that is trying to connect to your WAMPServer machine please.

---------------------------------------------------------------------------------------------
(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 -- phpMyAdmin
Get 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-

Options: ReplyQuote
Re: Not able to connect to wampserver in LAN
Posted by: leovipin1 (49.37.198.---)
Date: December 10, 2019 03:35PM

192.168.1.14 reportntest.in
127.0.0.1 localhost
::1 localhost

Options: ReplyQuote
Re: Not able to connect to wampserver in LAN
Posted by: RiggsFolly (Moderator)
Date: December 10, 2019 05:15PM

And of course 192.168.1.14 is the IP Address of the PC running WAMPServer?
And of course the PC Running WAMPServer is a static IP Address on your router and NOT assigned by DHCP assigned?

---------------------------------------------------------------------------------------------
(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 -- phpMyAdmin
Get 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-

Options: ReplyQuote
Re: Not able to connect to wampserver in LAN
Posted by: leovipin1 (49.37.198.---)
Date: December 10, 2019 07:19PM

Yes 192.168.1.14 is the PC running wampserver and it is a Static IP Address

Options: ReplyQuote
Re: Not able to connect to wampserver in LAN
Posted by: leovipin1 (49.37.198.---)
Date: December 11, 2019 02:33AM

The scenario here is that i have two systems. System A with ip address 192.168.1.14 and System B with ip address 192.168.1.11. I have installed wampserver on both the systems to test with same settings. The only difference is that System A has additional McAfee Endpoint Security installed. I have replaced the Required local with Require all granted in the httpd-vhosts.conf in both the systems.

Initially i am not able to access the wampserver from A to B as well as from B to A. But when i add a firewall rule to allow port 80 in B then i am able to access wampserver from A to B.

But in even though i have disabled Mcafee Endpoint Security in A I am not able to access from B to A.

Options: ReplyQuote


Sorry, only registered users may post in this forum.