468,483 Members | 2,680 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,483 developers. It's quick & easy.

How to access XAMPP site from another PC on local network

7
Hi. I'm having the same dilemma here but my case is with XAMPP. Not WAMP. How can I make it happen? I uploaded my PHP file to a server and now I would like to access it using the other PC (of course LAN)..how can I do that? I can only access it by just typing 10.194.94.124/home.php from the server itself but I can't access it using other PC. Please help. I'm in a critical situation now :(
Thanking everybody in advance
Mar 22 '13 #1
13 41615
Dormilich
8,651 Expert Mod 8TB
I can only access it by just typing 10.194.94.124/home.php from the server itself
are you using the file:// or the http:// protocol here?
Mar 22 '13 #2
Me88
7
I am using the http://
Mar 23 '13 #3
Me88
7
I am using http://
So is there any way I can make it happen? What should I change? what should I add in? I need help :(
Mar 24 '13 #4
Dormilich
8,651 Expert Mod 8TB
if you use HTTP and a network URI, it should work. the only option I could imagine is that the server itself denies requests from other IPs, but that should be listed in either httpd.conf or .htaccess.
Mar 24 '13 #5
Me88
7
So in which line on the httpd.conf can I detect it? And what should it be set to?
Mar 24 '13 #6
Dormilich
8,651 Expert Mod 8TB
where the Access Control section is (there is no specific line number, though).
Mar 24 '13 #7
Me88
7
Yes, and this is what I have:

Expand|Select|Wrap|Line Numbers
  1. #AllowOverride controls what directives may be placed in .htaccess files.
  2. #It can be ''All'',''None'', or any combination of the keywords:
  3. #      Options FileInfo AuthConfig Limit
  4. #
  5. AllowOverride All
  6.  
  7. #
  8. #Controls who can get stuff from this server.
  9. #
  10. Order allow,deny
  11. Allow from all
So is there anything that should be changed here? Based on my understanding after look through all these, seems like it ALLOW. Correct me if I'm wrong.
Mar 24 '13 #8
Dormilich
8,651 Expert Mod 8TB
doesn’t look like you should change something here.
Mar 24 '13 #9
Dormilich
8,651 Expert Mod 8TB
can you reach the server PC via network at all?
Mar 24 '13 #10
Me88
7
No, I can't. That's the problem I'm facing now :(
Mar 24 '13 #11
Dormilich
8,651 Expert Mod 8TB
well, if you don’t even have an arbitrary network (e.g. LAN) connection, then you can’t access a (web related) file anyways.
Mar 24 '13 #12
Me88
7
But there is nothing wrong on how I access the XAMPP, right? there's a PHP project I saved on the server, and way to access is http://10.194.94.126/myproject
Am I right?
Mar 25 '13 #13
Dormilich
8,651 Expert Mod 8TB
I’m confused. do you or don’t you have access from another PC to the server PC? (that the server has access on its own machine should be obvious).
Mar 25 '13 #14

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Geoff Blake | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.