ERR_ADDRESS_UNREACHABLE issue

Hi, this is an old issue here in the forum, but i tried the solutions suggested in other posts but non of them work for me.

Every time i run ionic cordova run android -l i get the famous net::ERR_ADDRESS_UNREACHABLE error. This started 10 days ago.

I already tried:
checking the internet connection be the same in cellphone and pc
updating ionic and cordova
reinstalling ionic and cordova
reinstalling nodejs
try with a brand new app
reset developer options in cellphone
try to access through android chrome (didn’t work)
try to access through pc browser to local and external ip (did work)
deactivating windows 10 firewall
deactivating antivirus

Ionic info:

ionic (Ionic CLI) : 4.6.0 (C:\Users\pablo\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.0-rc.0
@angular-devkit/build-angular : 0.11.4
@angular-devkit/schematics : 7.1.4
@angular/cli : 7.1.4
@ionic/angular-toolkit : 1.2.2

Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.1, (and 4 other plugins)

System:
Android SDK Tools : 26.1.1 (C:\Users\pablo\AppData\Local\Android\Sdk)
NodeJS : v10.14.2 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 10

After almost 2 weeks i found out that it was a router problem, after reset started working properly.

3 Likes

Just had that issue today and was starting to get upset, thanks for posting how you fixed it because it worked for me as well!