Hello, I don't know how to access my echo project in Laravel from another computer on the network, locally I can access it with:
http://localhost:8000
now I try to access replacing localhost with the IP on the same computer in which I have the project
192.168.1.3:8000
and it does not access, it only works with localhost , I suppose that is the reason why I cannot access from another computer on the network, if the same computer does not connect through the ip. a greeting.
Steps to follow so that your PHP application is installed on a local network.
192.168.1.3
httpd.conf
with notepad, it is located at:XAMPP>apache>conf>httpd.conf
Listen 80
, you will find something like this:#Listen 0.0.0.0:80 / 12.34.56.78:80
httpd.conf
verifying that the server points#Listen 192.168.1.3:80
localhost
, replace it with the IP of the server that we defined in point 1.Now, if you have the firewall enabled, you must add an exception to port 80 and 8080 of the protocol
http
On the other hand, if you are looking for a temporary and simple test environment, I recommend you use: Cloud9
You can generate a temporary url of your project that will be visible until the service is turned off and you have to start it again.
Just add your ip as a parameter when you start the server , so that it looks like this:
It's fine but it would be without the " = "