I have written an angular website on Windows 10, and am trying to view it from a browser on another machine using my machine's IP address.
As per instructions in How to allow access outside localhost I am invoking this with
ng serve --host 0.0.0.0
It now allows access from the local machine, via URL http://192.168.1.252:4200/ but when I call the same URL from another machine on the same network it just times out and doesn't return anything. I have tried:
- Opening the port 4200 for incoming for all applications in the firewall settings
Logging incoming requests using Microsoft Network Monitor. The incoming requests are seen, and of the format:
TCP:[SynReTransmit #9044]Flags=......S., SrcPort=47752, DstPort=4200, PayloadLen=0, Seq=608863266, Ack=0, Win=65535 ( Negotiating scale factor 0x7 ) = 65535
but none of these solutions has worked. It's still doing the same thing. Do I need to set anything in my angular.json or package.json? I'm quite stumped. Thanks.