Cordova iOS with Failed to load webpage with error: Could not connect to the server.
This problem is caused by the transport security policy changed on iOS9. It affects the UIWebView of iOS9. New WKWebView is not affected by this problem.    Check if the cordova-ios version is larger than 4.0:  cordova platform version ios  If cordova-ios is larher than 4.0, please use  Cordova   WKWebView   Engine   with   http   server   ( localhost ) support:   https://github.com/apache/cordova-plugins/tree/master/wkwebview-engine-localhost   cordova  plugin  add  https :// github . com / apache / cordova-plugins . git # master : wkwebview-engine-localhost  Add the following tag in config.xml if using WKWebView:   <feature name="CDVWKWebViewEngine">   <param name="ios-package" value="CDVWKWebViewEngine" />  </feature> <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />   You must specify the wkwebview server port on config.xml for ios using indexdb or localstorage (port e.g. 12344 ) rather th...