Hi. I have just developed my first application under Clarion Appbroker. I added the H5 template & the application compiled easily. The application is loading in my local browser using the URL: http://localhost/exec/Appfolder/Appname.exe.0
However the I am unable to load this from any other machine. What is the URL to be used from any other machine ? Do I need to host the Appbroker service to any third party server ? I understood that my PC itself becomes the server running the Appbroker service. Have I got this wrong ? I tried the URL: http://XXX.XXX.XX.XX/exec/Appfolder/Appname.exe.0 but I just get the message “This site can’t be reached”. Are there any other settings ?
I am using Clarion 10.0.0 build number 12799. The Appbroker is also of the same build number
Hi. Thanks, but I still get the message “This site can’t be reached” ERR_ADDRESS_UNREACHABLE. My default port number is 80 so I added that as suggested by you. I also changed the .exe to .wap as suggested in the URL. I am trying to connect from my Mobile, which is also on the same wifi network. Any other suggestions ?
Also how can one connect to this application if outside the local network ? Do I then have to host it on some other server ?
Hi. Really appreciate your prompt responses. Tried what you suggested but still the same result. Also, how do you connect to the App from other networks ?
Very weird it’s not working for you. Normally it’s very simple and it should “just” work.
To connect from the outside (everywhere):
Just open a port in your router, for example 8081, and forward this port to the local ip address/port of your host machine where the AppBroker is running. Then you can reach your H5 App everywhere by the following url:
http://your_external_ip-address:8081/exec/Appfolder/Appname.wap.0
Hi,
Finally I have managed to get it working on other devices within the same network. Still having challenges in getting it to work from other networks. Thanks for the help.