cannot view by other pc in network

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

cannot view by other pc in network

Postby innoxious42 » 03. June 2009 05:49

what should i do??

other computers cannot view my localhost..

pls help..
innoxious42
 
Posts: 5
Joined: 03. June 2009 05:39

Re: cannot view by other pc in network

Postby Sharley » 03. June 2009 05:58

innoxious42 wrote:what should i do??
What are you trying to do and how are you trying to do it?

innoxious42 wrote:other computers cannot view my localhost..
http://localhost which will bring up the XAMPP Welcome Page is only available on the PC XAMPP is installed on.

So how are you trying to connect to the XAMPP Welcome Page from other computers on your network?

Please be aware that unless you provide great detail in your questions that we here can't possible know what you are doing or have done or what you or anyone else on your network can see on your/their monitors.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: cannot view by other pc in network

Postby innoxious42 » 03. June 2009 06:07

this is the scenario:

comp 1 has the xampp installed on it and then i try to view the page on comp 2 the browser says
connection interupted..

is there a posible way to view the the page over the network?? or only where it is installed.. thnx..
innoxious42
 
Posts: 5
Joined: 03. June 2009 05:39

Re: cannot view by other pc in network

Postby Sharley » 03. June 2009 06:11

innoxious42 wrote:...then i try to view the page on comp 2...
How exactly are you trying to view the page on comp 2?

innoxious42 wrote:is there a posible way to view the the page over the network??
Yes there is.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: cannot view by other pc in network

Postby innoxious42 » 03. June 2009 06:28

i use drupal and i can access it in my pc but when i try it in other computer over the network it cant connect

i want to know how if there's a possibility..

is there a configuration on xampp for network viewing the site?? thanks
innoxious42
 
Posts: 5
Joined: 03. June 2009 05:39

Re: cannot view by other pc in network

Postby Sharley » 03. June 2009 06:36

What are you typing in the address bar of your browser on comp1 to access Drupal?

What are you typing in the address bar of comp 2 to access Drupal on comp 1?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: cannot view by other pc in network

Postby innoxious42 » 03. June 2009 06:44

in comp 1 i typed "http://localhost/" or "http://127.0.0.1/" (where xampp is located)

in comp 2 i teped "http://192.168.0.42/ or "http://innoxious(servername)/"" and is says connection interrupted

but i can access the comp1 via filesharing using comp 2
innoxious42
 
Posts: 5
Joined: 03. June 2009 05:39

Re: cannot view by other pc in network

Postby Sharley » 03. June 2009 07:05

Temporarily disable your Windows firewall or ZoneAlarm etc. and try again as in a default XAMPP installation you should be able to access your pages from anywhere on your network, that is if your network is setup correctly, without configuration changes in XAMPP.

Something is blocking access using your network IP for comp 1.

Is 192.168.0.42 your comp 1 or are you using some sort of dynamic IP configuration?

Double check your network settings including how you have setup your IP numbers.

What have you changed in the httpd.conf file or any other configuration files in XAMPP?

Obviously XAMPP is working correctly if you can access Drupal from http://localhost and also if you can access the XAMPP Welcome Page from http://localhost/xampp/index.php

Normally this forum is only concerned that XAMPP is working correctly not whether you have configured your network correctly, as there are other places on the Internet where you can ask questions about configuring your home network.
but i can access the comp1 via filesharing using comp 2
File sharing uses different ports than does a web server - by default Apache listens on port 80 from any IP, MySQL uses port 3306 and they are the ports that are possibly being blocked and preventing access via the network.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 147 guests