Hello
I am trying to interact with a remote-mysql database.
I call the following procedure, when clicking a button:
But after +-30 seconds I get the following error,when the code enters JobDone:
I have tried connecting to my online db using C# and it works, and when I run http://127.0.0.1:17178/?method=test then it says connection successful, but don't know what causing the above connect timeout.
If it's important, I connect my phone to the internet via wifi.
Thanks for assistance.
I am trying to interact with a remote-mysql database.
I call the following procedure, when clicking a button:
B4X:
Sub CreateTable
Dim cmd As DBCommand
cmd.Initialize
cmd.Name = "create_table"
'cmd.Parameters = Array As Object("cat 1")
reqManager.ExecuteCommand(cmd,0)
End Sub
But after +-30 seconds I get the following error,when the code enters JobDone:
DBRequest org.apache.http.conn.ConnectTimeoutException: Connect to /192.168.0.100:17178 timed out
I have tried connecting to my online db using C# and it works, and when I run http://127.0.0.1:17178/?method=test then it says connection successful, but don't know what causing the above connect timeout.
If it's important, I connect my phone to the internet via wifi.
Thanks for assistance.