How can I allow connections from another local IP in XAMPP?

1

How can I allow connections to my local page in XAMPP from another device in the same local network?

From my computer where I have XAMPP I can access perfectly but from another computer connected to the same network I can not access.

How can I solve this? Thanks

    
asked by Sergio Muñoz 23.12.2017 в 11:59
source

3 answers

2

Simply with the IP of the PC that is running the server (XAMPP). To check it you can run in the terminal:

Windows:

$ ipconfig

Linux or Mac:

$ ifconfig

Then on another device you can enter by placing the IP of your PC in the browser.

    
answered by 23.12.2017 в 15:44
1

The simplest way is to locate to local ip with the command: ipconfig suppose a result: 192.168.10.23

From another computer in the search engine you put: link It is important to include the port on which your server listens, port 80 is the one used by default with XAMPP.

If you do not specify the port it does not work.

    
answered by 17.04.2018 в 16:36
0

In this link you can find the solution to that case that is presented to you I hope it serves you enter the description of the link here

Or you can also check with this tutorial enter the description of the link here

    
answered by 23.12.2017 в 15:12