How can access laragon from lan
I have installed laravel on laragon, my project name's blog.dev, how I can access my blog.dev from another pc on my local area network? recently I access my blog.dev using ip.
best regards from Papua,
Click Menu/Apache/hosts to open hosts file
Change 127.0.0.1 to your-ip-address
127.0.0.1 blog.dev #laragon magic!
x.x.x.x blog.dev #laragon magic!
@paceobed : Sorry, you don't need to modify hosts on the server, you just need to modify your hosts on the another pc
x.x.xx is the IP of the server hosted the blog
@leokhoa same like using xampp
It's quite simple using Nginx, just Right Click on the Laragon Menu, Nginx>sites-enabled> auto.YourAppName.dev.conf Notepadd++ will open, so add your IP after yourAppName.dev;
server_name yourAppName.dev *.yourAppName.dev 192.168.1.2;
save, reload and test it.
https://www.devside.net/wamp-server/accessing-websites-on-a-local-network-lan-web-server - Accessing Websites on a Local Network (LAN) Web Server
Antonio García Marín
If you use Apache
you need modify httpd.conf and change
Restart Apache and that's all.
If this don't work verify your firewall rules.
You need open port TCP 80 (443 too if you use ssl) for incoming connections.