Page 1 of 1

cannot view by other pc in network

PostPosted: 03. June 2009 05:49
by innoxious42
what should i do??

other computers cannot view my localhost..

pls help..

Re: cannot view by other pc in network

PostPosted: 03. June 2009 05:58
by Sharley
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.

Re: cannot view by other pc in network

PostPosted: 03. June 2009 06:07
by innoxious42
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..

Re: cannot view by other pc in network

PostPosted: 03. June 2009 06:11
by Sharley
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.

Re: cannot view by other pc in network

PostPosted: 03. June 2009 06:28
by innoxious42
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

Re: cannot view by other pc in network

PostPosted: 03. June 2009 06:36
by Sharley
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?

Re: cannot view by other pc in network

PostPosted: 03. June 2009 06:44
by innoxious42
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

Re: cannot view by other pc in network

PostPosted: 03. June 2009 07:05
by Sharley
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.