How to correctly configure the connection between an Angular Hybrid App running on Android device and a Springboot server?

I have developed two apps of a client-server system.

I usually run both the server (Springboot) and the client (Angular) on my PC, so in the same host, and the communication works normally.

I have created, with Apache Cordova, the mobile version of the Angular App and I have installed the APK on my Android Device.

Even if I have configured the connection with the server using its internal IP instead ‘localhost’, the Angular App can’t communicate with the server from a different host in the same network.

Can someone help me please?


Source: Angular Questions