How to use application on different computer(locally connected)
-
I'm try to connect all my local computer to use my app. LIke i install my app on main computer and install on that. and when someone open on another computer which is connected with main computer(via wifi or cable) .
-
@vipin733: The easiest way is using Ngrok share:
Click Menu > ngrok > share -> your-application, an auto generated shared url will be copied to your Clipboard. You can use the url to access your application from not only local but also remote computers.You can view this nice short video if you want to understand how it works:
-
@leokhoa but its url always changed, and what if another computer don't have internet connection, how about if i used dynamic dns
-
-
@leokhoa how can use that, like if visit on main computer app.dev it should also if i open aap.dev in another computer(locally connected) its just like my main computer work like hosted server
-
Here's how:
-
Get your current IP address on LAN. It show on the title bar:
-
Open Virtual Host configuration:
-
Add xxxx.nip.io to the file:
-
Reload nginx:
Now you can access myapp.10.0.2.15.nip.io from LAN
-
-
@leokhoa said in How to use application on different computer(locally connected):

-
@vipin733 : Please use a short nip.io name, myapp.xxx should work
Otherwise your need to change nginx.conf
-
customer1.app.192.168.1.101.nip.io; same errors
-
Oh, if you insist on using a long name. Here's how
Open Menu > Nginx > nginx.conf
Add this line:server_names_hash_bucket_size 64
;client_max_body_size 2000M; server_names_hash_bucket_size 64;
-
errors when i visit site "403 Forbidden" i think nginx deny outside request how allow to outside
-
i updated nginx and its working thanks
-
Cool, glad to know it works