ionic2 - ionic serve always uses localhost -


i'm trying ionic 2 work on mac. ionic serve uses localhost though i've selected ip address (192.168.1.234) using ionic address. here particulars:

enter image description here

enter image description here

enter image description here

you can see issue command ionic serve --address 192.168.1.234 yet ionic serve alwys uses http://localhost:8100. i'm relatively new working macs, i'm thinking there's mac setting someplace need make. i've verified through system preferences -> network mac using 192.168.1.234 wifi ip address. preventing me being able test ionic app on iphone device.

any idea i'm missing? help.

please try :

ionic serve --address your_ip_address 

please note your_ip_address should available ip assigned actual device. example if (static or dynamic) ip address 192.168.0.110, cannot "ionic serve" 192.168.0.111 or 192.168.0.112 etc.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -