I am trying to access my angular application which is running on http://localhost:4200
. I have tried changing localhost to my actual IPV4 address 192.168.43.XXX
but I m receiving the following message from the browser "This site can’t be reached".
Using http://127.0.0.1:4200
works just fine.
I am running the application using ng serve
.
I have tried turning off the firewall but nothing changes.
Is it necessary to run the application like this ng serve host 192.168.43.XXX
?
If so, why ?
If I remember correctly I have managed to connect from my phone using only ng serge
a year ago.