I get this Error on my Android screen when it tries to load the app (using either emulate or run)
Error Dialog:
Application Error
net::ERR_CONNECTION_REFUSED (http://localhost:8100)
App view in background:
Webpage not available
The webpage at http://localhost:8100 could not be loaded because:
net::ERR_CONNECTION_REFUSED
Any help on what to look into to make this work is appreciated!
Thanks! - Sean
Things I’ve done:
- whitelist plugin installed
- localhost:8100 whitelist entry made in config.xml
- ionic.config - ionicServeAddress and platformserveAddress both set to localhost
- confirmed device and host machine are on same network
- This results in ionic emulate --livereload ios working
- run and emulate work WITHOUT --livereload
Here’s my ionic info:
Cordova CLI: 6.0.0
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
ios-deploy version: 1.8.4
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v4.2.4
Xcode version: Xcode 7.2.1 Build version 7C1002