Works on host machine, but not on network machines
Posted by: manas4 (74.198.1.---)
Date: March 05, 2012 10:48PM

RESOLVED

Hello,

I would be very grateful if you could help me solve the following problem. I have provided all the information I think might be helpful.

**Problem: I can access the localhost page (index.html) on the host machine (machine running WAMP) by entering my local IP (192.168.0.229). However when I enter this local IP on another machine on the same network, I see the Google Chrome standard message "This webpage is not available..." or "Oops! Google Chrome could not connect to 192.168.0.229" . I believe I should see the same index.html file in my wamp\www directory.

**System: Windows 7 Home Premium (64-bit); WAMP Server 2.2; MOFI3500-3GN router (wireless network)

**Current status: WAMP taskbar icon is green and 'online'; Disabled IIS; Configured Skype to not use port 80; When I go to 'Windows Firewall" it reads "These settings are managed by McAfee Personal Firewall". McAfee firewall status: "firewall is off".

**Listening to port 80 in httpd.conf file using just - 'Listen 80' (only port)
"test port 80" result shows that port 80 is used by 'Apache/2.2.21 <Win64> PHP/5.3.9'

**Apache Access log show access only from host IP (192.168.0.229) & 127.0.0.1 (no other IP listed)

**Apache Error log:
[Mon Mar 05 16:33:18 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.9 configured -- resuming normal operations
[Mon Mar 05 16:33:18 2012] [notice] Server built: Sep 24 2011 19:57:51
[Mon Mar 05 16:33:18 2012] [notice] Parent: Created child process 11228
[Mon Mar 05 16:33:18 2012] [notice] Child 11228: Child process is running
[Mon Mar 05 16:33:18 2012] [notice] Child 11228: Acquired the start mutex.
[Mon Mar 05 16:33:18 2012] [notice] Child 11228: Starting 64 worker threads.
[Mon Mar 05 16:33:18 2012] [notice] Child 11228: Starting thread to listen on port 80.
[Mon Mar 05 16:33:18 2012] [notice] Child 11228: Starting thread to listen on port 80.

(No errors logged about service denied or file not existing);


**Question to help me understand what's going on: My understanding is that troubleshooting this problem should have nothing to do with port-forwarding since this is an internal network request. Is my understanding correct?..

Any help would be greatly appreciated. I can share my httpd.conf, access/error log if needed.

Thanks in advance,

Manas



Edited 2 time(s). Last edit at 03/06/2012 05:08PM by manas4.

Options: ReplyQuote
Re: Works on host machine, but not on network machines
Posted by: manas4 (74.198.1.---)
Date: March 06, 2012 05:06PM

RESOLVED::

It was a firewall issue. Despite displaying that the firewall is off, the McAfee Personal firewall was still blocking incoming requests to my host computer.

Using the 'ping' command in cmd prompt really helped me identify that it was the firewall in my host computer. This is the advice posted on server fault. Hope it can help out someone else too...

try to ping it from another box in your network(e.g. "Start" -> "Run", type "cmd", In text console appeared type: ping xxx.xxx.xxx.xxx, where xxx.xxx.xxx.xxx - IP address of host .). If it does not - check your network/firewall settings configured as well.

[serverfault.com]

Options: ReplyQuote
Re: Works on host machine, but not on network machines
Posted by: yfastud (Moderator)
Date: March 09, 2012 01:42AM

You should setup VH instead; then, you can type 'http://site1' to show the webpage and/or content of folder c:\wamp\www\site1, for example, 'http://site2' to show the webpage and/or content of folder c:\wamp\www\site2, 'http://site3' to show the webpage and/or content of folder c:\wamp\www\site3 ... in additions, you can add their shortcuts to custom WAMP Menu for quick access; check screenshot below winking smiley

[jlbn.com]

No matter within or outside LAN access, you need to setup Access, DNS, and VH; Access for permission to connect to your Wamp PC, DNS to tie Domain(s) to your Wamp PC, and VH to host multiple Domains/Websites/IP's and even you have only 1 Domain/IP, you should use VH to set it up w/ the site you want to show up first on top and localhost on bottom and others in middle if having more than 1 site; w/ VH, other PC's, no matter w/i or outside LAN, can access/see websites/contents of that particular folder set for that particular VH on your wamp PC. If dont have real Domain, just skip DNS guide

To setup Access, follow this
[blog.jlbn.net]

To setup VH, follow this
[blog.jlbn.net]

To setup DNS, follow this
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.