To control the URL used for the Mobile Web envrionment's "Get App URL" in preview:
- Open your-project\server\conf\worklight.properties
- Uncomment the
publicWorkLightHostname
property - Provide a host or IP address
- Re-deploy the application
- Load Worklight Console and click on "Get App URL"
The URL should now point to the address from step 3 above.