REST connection and Mobile App deploy

22 Jun '15, 09:21 PM
No Forum Badges

Hi all I am here again,

tring to test the Mobile App through the emulator on android and ios.

the Back End application has been generated on a cloud server and the REST connection has been inputed as BE base url before the deploing.

the BE base url is    without the name of folder or the page, (a bit different from the webinar as it runs a local Tomcat server and needs the BE folder)

it seems it is not correct as it doesn't work.

after tring to connect with QRcode, the error message says: check your network settings: mobile device and workstation must use the same network.

what can be the reason?

thanks in advance for any help on it





x 0
Answer Answer at this question and get points!
Forum Expert - Level 6

Hi Fulvio,

this error message check your network settings: mobile device and workstation must use the same network reminds that Device and PC must be connected to the same network.

The reason is that the IP address generated by the app dashboard is a "local" IP and must be reached from the device.

Try to connect to the same network and let me know if it works.

Lucio Bordonaro

x 0
No Forum Badges

thanks Lucio,

thanks for the reply and please take my compliments for the webinars.

actually both the mobile and the laptop are connected to the same wifi and I tried also to connect from 3G connection from mobile.

to be honest I don't get the point why they have to share the same network if it is supposed to be a mobile app on the internet.

if the BE is published on the base url with its own IP it should be interrogated from any other IP of client. morover the emulator has been filled with the IP indicated.

maybe i dont understand the paradigm properly, thus where i can i check and change the IP in dashboard?

many thanks again to all of you guys


x 0
Forum Expert - Level 6

Hi Fulvio,

the mobile device and the laptop must be connected to same wifi when using WebRatio Mobile Developer App. 

The reason is that WebRatio Mobile Developer App connects to the PhoneGap server hosted on your laptop, and in order to do so, it must use the same network to reach the laptop local ip address.

The Backend URL is another property that refers to the remote location of the Backend application.

Do not confuse with the connection between mobile device and laptop.

If the Backend is published on a public server (like it happens with the WebRatio cloud servers) then it can be used from the app when its built but also when its emulated through WebRatio Mobile Developer App.

If the Backend is published on your laptop then it works only if the connection between the mobile device and the laptop can be established.

I hope now everything is clear.

Best regards,

Lucio Bordonaro

x 0
Answer at this question and get points!

Related questions

500 error with WebRatio BPM A Commercial Hosting Service for the publication of a Website? aggiornamento fallito a causa di un errore interno Any sample deployment application not deploying properly Automatization of deployment Avvio chiamata dispositivo AWS Elastic Beanstalk y Webratio Bluetooth Build Project. Only files for compilation .class Cambiare dimensioni bottoni - Change button size Can I deploy an application to the cloud using RightScale and/or Scalr? Can I integrate Amazon S3 and/or Amazon CloudFront? Can I use Git with Webratio Can not get generate and run option for DataService Project Cannot invoke method selectSingleNode() on null object Code is exceeding the 65535 bytes limit error on JBOSS Codigo QR Confirm dialog for mobile Customize layout mobile platform Database connection, Host and Port number Database List is not showing up in App Emulator Data Management: Updating Data - Attachments - Updating Data Sample Project Final DataService Projects and Mobile Projects in WebRatio Community Deploy de proyecto en HTTPS Deploying to CloudBees Deploy web project da riga di comando Emular una App Error deploying Bookstore sample to cloud Error deploying WAR against to JBOSS Errore su mobile-custom-components Error testing mobil app in android Form template From BPM to WebProject - BUILD FAILED "Generation Error" with Generate and Run Grabar informacion localmente - WebRatio mobile Hacer pruebas unitarias y de integración / Unit Test in WebRatio Hide form until a flow is triggered How can I interact using a iOS (iPhone/iPad) client with a WebRatio app? How to accelerate the generation process? How to avoid language selection automatically according to the browser? how to delete this error? How to disble derby database? integrate framework to webratio mobile invio mail fallito is possible integrate CartoDB in WebRatio Mobbile apps? JSP/DO issues on Tomcat 5.5 (Ubuntu) Make a call from Mobile APP mandatory control code parameter is missing [MOBILE] Can't synchronize domain model with beck end DB [MOBILE] Errore Field Mandatory [MOBILE] How I extract information from JSON client side? Mobile platform : List view - add / remove row Mobile Platform - using device specific features [MOBILE] Script doesn't work! Mostrare un bottone solo in determinati casi Page Home - First time the Project Web begins Problema al generar y ejecutar proyecto Problema ¨HTTP Status 404" problem on first deploy with webratio Problem with application runnung Problem with execution of webratio Project generation best practices redeployCheckInterval property Root Context & Enterprise Project Sample web application Some hint before I generate and deploy a webapp on a 64-bit windows system? Start Job when WebApp starts Supoort for Mobile and Desktop display Sync DataService Project with Mobile Project Tomcat external session store and WebRatio webapp. Trying to Synchronize Domain Model Unable to compute the controller URL(s) for applicationUnable to compute the controller URL(s) for application having status PROVISIONING Unable to find Cloud free function Unspecified BPM Engine Database Use Running profile en project Web Ratio Mobile and Foreign Key Web Ratio Mobile plateform Macos Sierra WebRatio Mobile Platform Community edition - Restful request Web Ratio Mobile - Remote data mapping problem Webratio with Git support