Hi,
Let say you want see your angular application from your mobile phone in home network, solution : nginx.
Lets download nginx : nginx for windows
After download zip file,
- Unzip the file.
- Locate the folder in cmd.
- Write
start nginx
- Build your angular application :
ng build --configuration production
- Paste your angular application to : nginx-1.28.0\html
- Open terminal and write :
ipconfig
You should find ipv4 address like : 192.168.x.x
For me : 192.168.1.3
After I can open my angular application from url : 192.168.1.3
and from my phone :
Mustafa Samed Yeyin,
Best Regards.
Top comments (0)