Store APK - URL Blocked

When I build an APK with --release the URL going to an accesspoint is modified with http://localhost.

For example… if I do not use --release and it is a debug … i use. HttpClient .get() to

BUT Same code … nothing but --release in the APK build … it tries to go to

Tried both Cordova and Capx builds.

Only happens on Android … this doesn’t happen on iOS.