Access XAMPP across network

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Access XAMPP across network

Postby horseatingweeds » 31. August 2010 17:46

I'd like to be able to access webpages on XAMPP from other computers on my network.

I've got two computers on a windows network. One system has XAMPP 1.7.1, the other has an Apache stack I installed a few years ago piece by piece - before XAMPP was packaged. I can access the old computer - the one running the pieced together Apache - by going to its IP address from across the network. But I can't reach the new system running XAMPP across the network the same way. When I try visiting the XAMPP computer's IP address, the page times out.

I am able to access XAMPP via the IP address (or localhost) within the system, just not across the network from another system.

I've checked the firewall and there is the exception for my local IP range.

There are no fresh error logs on XAMMP's apache.

Here's the IP config for the XAMPP's system:

Code: Select all
Windows IP Configuration

        Host Name . . . . . . . . . . . . : asus-amd3
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : wowway.com

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . : wowway.com
        Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
        Physical Address. . . . . . . . . : 00-26-18-DD-E5-D6
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.0.198
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        IP Address. . . . . . . . . . . . : fe80::226:18ff:fedd:e5d6%5
        Default Gateway . . . . . . . . . : 192.168.0.1
        DHCP Server . . . . . . . . . . . : 192.168.0.1
        DNS Servers . . . . . . . . . . . : 192.168.0.1
                                            fec0:0:0:ffff::1%1
                                            fec0:0:0:ffff::2%1
                                            fec0:0:0:ffff::3%1
        Lease Obtained. . . . . . . . . . : Tuesday, August 31, 2010 9:12:38 AM
        Lease Expires . . . . . . . . . . : Wednesday, September 01, 2010 9:12:3
8 AM

Tunnel adapter Teredo Tunneling Pseudo-Interface:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
        Physical Address. . . . . . . . . : FF-FF-FF-FF-FF-FF-FF-FF
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : fe80::ffff:ffff:fffd%4
        Default Gateway . . . . . . . . . :
        NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter Automatic Tunneling Pseudo-Interface:

        Connection-specific DNS Suffix  . : wowway.com
        Description . . . . . . . . . . . : Automatic Tunneling Pseudo-Interface

        Physical Address. . . . . . . . . : C0-A8-00-C6
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : fe80::5efe:192.168.0.198%2
        Default Gateway . . . . . . . . . :
        DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                            fec0:0:0:ffff::2%1
                                            fec0:0:0:ffff::3%1
        NetBIOS over Tcpip. . . . . . . . : Disabled


Any ideas?
horseatingweeds
 
Posts: 20
Joined: 10. September 2009 03:17

Re: Access XAMPP across network

Postby JonB » 01. September 2010 16:36

Just a silly question - why XAMPP 1.7.1?

what's the actual browser error message when it times out?

AND - what's the page that is served when you go to http://localhost on the XAMPP machine?


:?: :?: :?:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Access XAMPP across network

Postby horseatingweeds » 01. September 2010 21:18

XAMPP 1.7.1 because that's the package that was latest a year ago - when I installed it. And the thing is so finicky I fear attempting an update.

I'm not getting an actual Apache error page. It give no code, like 500, or 404. It's just, "Problem loading page. The connection has timed out."

The page served at localhost is redirected to a summary/status page for XAMPP, (http://localhost/xampp) I can visit it on the XAMPP machine.
horseatingweeds
 
Posts: 20
Joined: 10. September 2009 03:17

Re: Access XAMPP across network

Postby JonB » 02. September 2010 04:10

OK

Bad me - I should have asked for the Apache error and access logs - bad Jon B, BAD BAD :shock:

The the problem is likely the fact of "what" page is being served.

try changing the name of index.php in htdocs so it won't be loaded - say make it "index.php.test"

mske yourself an index.htm or index.html page that is unique, place it in the htdocs folder (or wherever the DocumentRoot is) - then try accessing the machine over the local net.

If you get the index.htm(l) page you made, the problem is that the XAMPP page is protected by either a .htaccess file or a directive in an Apache .conf file from being served to any address other than localhost or 127.0.0.1.

8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Access XAMPP across network

Postby horseatingweeds » 02. September 2010 17:26

Hi JonB,

I think I've found the trouble. File sharing also isn't working in that direction. Even though I had McAfee firewall trusting the IP of the non-XAMPP computer it was still apparently blocking it. So I open a hole for port 80 and now I can view the XAMPP files.

File sharing still isn't working in that direction though. The XAMPP computer can see the shared folders on non-XAMPP but not the other way around - due to the McAfee fire wall. I think McAfee has a port disorder... :roll:

Thanks
horseatingweeds
 
Posts: 20
Joined: 10. September 2009 03:17


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 38 guests