How to test ASP.Net Core 2.1 Angular-webapp in local WLAN on mobile phone? (MacOSX)
Answered
Hi
My ASP.Net Core 2.1 Angular-webapp runs on Rider 2018.2.3 on my Macbook. Now i would like to test the Angular-webapp on my mobile phone in my local WLAN. When testing the webapp local in a browser the address is: http://localhost:5000
I know the local ip-address of my Macbook inside the WLAN. But when addressing this Ip-address together with the postnumber 5000 i get the message that the browser cannot establish a connection to this address.
Any idea what i am doing wrong?
Many thanks in advance for any help.
Best regards,
Robert
Please sign in to leave a comment.
You have to change binding ip in running setting. Look at screenshots.
Hi Grinay
Wow, thanks a lot. You made my day. :-)
After replacing "localhost" with my local ip-address now it is possible to connect with my mobile phone on the local ASP.net-webserver running on my Mac. Now i can test my Angular webapplication in mobil view.
Best regards,
Robert