Connection to the server not successful

Hi Guys,

Does anyone experience this error on the mobile phone deployment?

Connection to the server not successful (http://ip-of-radsystems-installed:8050) appear on the phone.

Thanks,

Hi @jp26198926 ,
make sure you have set the API link to your live server in the frontend/quasar.conf.js file before the build. Since it is difficult for your mobile app to connect to your localhost, it is better to develop as SPA and when you are ready to publish to production you set your API link to live server and compile it to mobile.

Regards,
willvin

Hi @willvin ,

Thank very much it’s working.

For those who will come across, this is what I did.

  1. While the build console still running, Edit frontend/quasar.conf.jsapi
  2. Enter the computer IP (not localhost, the console will be automatically reloaded once it detects changes)
  3. DO NOT Click Publish or Re-publish on the Radsystems IDE as it will return back settings to localhost.

Regards,