Ionic run livereload connection error


#1

I am trying to run ionic run android --livereload, it’s working fine, the URL it’s giving is: http://10.0.0.1:8100
When I am running this command the application is up, there is black blank app background. after some seconds i get error alert:
“Application Error”: "The connection to the server was unsuccessful. (http://10.0.0.1:8100)"
After more some seconds (not clicked “OK” button) I have this error:
“Application Error”: “net::ERR_CONNECTION_TIMED_OUT(http://10.0.0.1:8100)”

I am using ubuntu, I tried active firewall (tcp ports 8100, 35729) and disable it, I tried ionic address - 2 choices: localhost, 10.0.0.1, and when I’m choosing localhost, in android it’s still 10.0.0.1 and not localhost

What should I do?

Picture:
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-xfp1/v/t34.0-12/12285643_699188470180774_502806509_n.jpg?oh=1837d7b757d13589bf29facb36bb29d5&oe=565CDF4F&gda=1448905445_a06dd634903cbf841ade21917754cbce


#2

I don’t know if you were able to solve this or not, but I discovered your post when I encountered the exact same problem. It’s an issue with the white-list cordova plugin not being configured correctly. Here’s an article I found about it:

It’s number 10 on the list.

This appears to have fixed the problem for me.


#3

Same issue. thanks anyway…


#4

Hey, Can you tell me exactly what i need to do to resolve this issue. I couldn’t find out what to do… Thanks in advance


#5

Try to add the white-list plugin of cordova.


#6

Thanks. Although it wasn’t the issue with cordova whitelist plugin


#7

Were you ever able to get this working? I’m having the same issue as well.

Thanks!


#8

I was wondering as well! Having the same problem


#9

Same issue here. Thanks.


#10

Same issue today… When will it be fixed?


#11

Is there anyone solve this problem?