4
Contributors
7
Replies
11
Views
5 Years
Discussion Span
Last Post by AndreRet
0

If you're trying to use the same link on all 3 PCs it wont work, as localhost looks to the computer it's running on

To view the page on the other PCs you will need to enter the PC's IP address instead of localhost.

I.E. if the PC's IP is 192.168.1.10 then on the other PCs you would enter http://192.168.1.10/mywebpage

0

What local server are you using (XAMPP, WAMPServer)? Is it set to be publicly accessible? Perhaps the firewall on your computer does not allow incoming connections. Did you try the computer's IP address, did you try the computer's network name ? Give more information, as you can see, it can be caused by a lot of things.

0

It depends on where your root folder is placed i.e. in XAMPP it will be in the httpdocs folder and you probably will have a folder for your app as well. you then need to specify the path to that folder - http://192.168.1.10/MyAppFolderNameHere/mywebpage.php

To check if you can connect to the host over LAN, in cmd type - ping 192.168.0.10 (replace the ip of your host pc with 192.168.0.10...)

2

I have turned off Windows Firewall and it is working now. Thank you all for help!

Votes + Comments
Well done on solving it. Some kudos for you
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.