Welcome to WebmasterWorld Guest from 3.233.226.151

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

accessing Xampp project within the network

xampp, php, mysql

     
1:14 am on Nov 27, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 21, 2007
posts: 54
votes: 0


Hello everyone,

I have a web application up and running on localhost. Now my manager wants to view it on the web browser through his system.

We tried using the ip address, computer name. Still it doesnt work. My manager is in the same network as mine.

I am using xampp package which contains apache,php,mysql.

Please help!

5:32 am on Nov 27, 2007 (gmt 0)

Senior Member from MZ 

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 9, 2005
posts:837
votes: 0


if your site works on localhost/site_folder_name URL, then just write IP address of your pc which has this site and /site_folder_name.

If your pc is on the network you should be able to see your site on other pcs.

4:52 pm on Nov 27, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 21, 2007
posts: 54
votes: 0


I tried using the ip address but it doesnt work. i even tried using the computer name, still it didnt work.

I have my files in c:/xampp/htdocs.

Do i have to put my files in a different folder and then try to access it?

6:38 am on Nov 28, 2007 (gmt 0)

Senior Member from MZ 

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 9, 2005
posts:837
votes: 0


your httpdocs folder works with localhost. if the site works on your pc with localhost reference it must work on the network.

Please make sure your pc is on the network and have no policy to stop other pcs calls to access files on your pc.

10:34 am on Nov 28, 2007 (gmt 0)

New User

10+ Year Member

joined:Apr 16, 2006
posts:15
votes: 0


If your httpd.conf document root entry (<Directory "C:/xampp/htdocs">) contains :-

Deny from all
Allow from 127.0.0.1

add your local network to the list e.g.

Allow from 192.0.0.

12:58 am on Nov 30, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 21, 2007
posts: 54
votes: 0


hello,
my httpd.conf file has the following:

Order allow,deny
Allow from all

it still doesnt work.

any other suggestions?

5:28 am on Dec 3, 2007 (gmt 0)

Senior Member from MZ 

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 9, 2005
posts:837
votes: 0


Say your site is hosted on PC A and you are trying to reach it from PC B over the network. Try the following and let me know about the outcome,

1 - ping PC A from PC B.
2 - share a folder on PC A and copy some files. Access these files from PC B then.

things you need to tell me are,

a - Do you get reply from PC A on pinging it from PC B or you get time out error or host not reachable etc?

b - can you open PC A files on PC B or you get policy / permission error?

5:01 pm on Dec 3, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 9, 2006
posts:75
votes: 0


Have you checked you are not being blocked by any firewalls on the pc?
5:37 pm on Dec 3, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 21, 2007
posts: 54
votes: 0


Hey phparion,
We tried pinging my ip from other computer and we get the response.
Regarding sharing a folder, i am not able to do it coz i don't have the admin rights, i am a user.
I also cannot checke my firewall settings coz i am a user and not admin.

Someone suggested me to add my ip in the virtual host list, Do i have to add my ip in the virtual hosts list?

awaiting reply

Thanks!

5:10 am on Dec 4, 2007 (gmt 0)

Senior Member from MZ 

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 9, 2005
posts:837
votes: 0


You are not administrator of NETWORK or your own PC? I still believe you can share a folder on your PC and access it on other PCs on the network... By the way if you are doing legal work then why don't you ask your network administrator to give you full permissions?

yes add your site to the network group / virtual host, where you can share your files.

One more thing, if you are not the Administrator of your PC, I think and could be wrong, you can cannot browse your site with localhost reference unless your PC admin permits you to do so....