I'm trying to run my App at Android device with LiveReload. With "ionic run android" command, everything works but when I try to execute "ionic run android -l" to use livereload I'm getting this error after SplashScreen:
The connection to the server was unsuccessful (http://192.168.56.1:8100/)
I'm using windows and I've created an inbound rule to allow 8100 and 35729 ports at Windows Firewall but still not working.
The Cordova Whitelist Plugin is also installed and configured at config.xml:
<content src="index.html"/>
<access origin="*"/>
<allow-navigation href="http://ionic.local/*"/>
<allow-navigation href="*"/>
<allow-navigation href="http://192.168.56.1:8100"/>
<allow-intent href="http://*/*"/>
<allow-intent href="https://*/*"/>
I'm running to device using USB Cable.
Versions:
I've already tried to add
<preference name="loadUrlTimeoutValue" value="700000" />
but in this case, I'm getting timeout error. Could you help me?
My PC has two ethernet drivers and the app was starting with the wrong IP, I solve using "--address
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With