After migrating to cordova 11 when I created a new app with android-targetSdkVersion set to 32, some of the mobiles were giving this error
The connection to the server was unsuccessful. (https://localhost/index.html).
![](https://www.netexl.com/blog/wp-content/uploads/2022/09/image-1.png)
Following entries in config.xml helped fix this problem.
<allow-navigation href="*" />
<content src="index.html"/>
<content original-src="index.html" />
Hi,
Are you still in business?
I found a few errors on your site.
Would you like me to send over a screenshot of those errors?
Regards
Joe
(714) 908-9255