P Pahbie Member Licensed User Longtime User Aug 26, 2012 #1 Hi Folks - I have installed the B4A Server. It works great when I use the example app that comes with it and I am calling out to the board server that Erel provides. When I change the config files for the Server's run.bat file and I change the URL for the server in the application, it doesn't connect. I have tried many configurations and when the application is NOT pointing correctly to my local server - it errors out quickly. When it points at it correctly it hangs up and times out. This tells me (maybe) that I am on the right track. What am I doing wrong?
Hi Folks - I have installed the B4A Server. It works great when I use the example app that comes with it and I am calling out to the board server that Erel provides. When I change the config files for the Server's run.bat file and I change the URL for the server in the application, it doesn't connect. I have tried many configurations and when the application is NOT pointing correctly to my local server - it errors out quickly. When it points at it correctly it hangs up and times out. This tells me (maybe) that I am on the right track. What am I doing wrong?
Erel B4X founder Staff member Licensed User Longtime User Aug 27, 2012 #2 When I change the config files for the Server's run.bat file and I change the URL for the server in the application, it doesn't connect. Click to expand... Are you running a PHP server? Upvote 0
When I change the config files for the Server's run.bat file and I change the URL for the server in the application, it doesn't connect. Click to expand... Are you running a PHP server?
P Pahbie Member Licensed User Longtime User Aug 27, 2012 #3 No - I tried unsuccessfully to set up a WAMP server and then saw that there was a PHP component that runs inside IIS 8. I thought that that would suffice. So - it has to be a PHP server? (And thanks for answering so quickly!) Upvote 0
No - I tried unsuccessfully to set up a WAMP server and then saw that there was a PHP component that runs inside IIS 8. I thought that that would suffice. So - it has to be a PHP server? (And thanks for answering so quickly!)
Erel B4X founder Staff member Licensed User Longtime User Aug 27, 2012 #4 If you want to use the PHP script then you should use a server that is able to run it. If IIS 8 can run PHP then it is fine. There is another similar script in the forum for ASP.Net (in the MS SQL tutorial). You should check the Java server output and the device output. Upvote 0
If you want to use the PHP script then you should use a server that is able to run it. If IIS 8 can run PHP then it is fine. There is another similar script in the forum for ASP.Net (in the MS SQL tutorial). You should check the Java server output and the device output.
P Pahbie Member Licensed User Longtime User Sep 1, 2012 #5 Is there something in the b4a_server.php that allows the PHP thing on the server to initiate or is it just a handshake? I set up the PHP in IIS 8 and it still times out. How do I check the Java output and the device output? Thank you for working with a newb. Upvote 0
Is there something in the b4a_server.php that allows the PHP thing on the server to initiate or is it just a handshake? I set up the PHP in IIS 8 and it still times out. How do I check the Java output and the device output? Thank you for working with a newb.
P Pahbie Member Licensed User Longtime User Sep 1, 2012 #6 What log am I seeing when I click on the Log tab in the bottom right of the screen? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 2, 2012 #7 The Java server prints messages to the standard "dos" console. b4a_server.php is responsible for saving the device IP address. The Java server then takes this address and connects to the device. Upvote 0
The Java server prints messages to the standard "dos" console. b4a_server.php is responsible for saving the device IP address. The Java server then takes this address and connects to the device.