You are not logged in.
Hi, I'm trying to get Delphi 10.2 Multi-device to work with mORMot.
I run the Project14ServerHttpWrapper project, then extract the mORMotClient.pas file, create a multi-device application with one button that does:
procedure TForm1.Button1Click(Sender: TObject);
var C : TSQLRestClientHTTP;
begin
C:=mORMotClient.GetClient('192.168.0.13','User','synopse',8888);
ShowMessage(TTimeLogToIso8601(C.ServerTimeStamp));
end;
On Win32 it works 100% from a remote PC(so firewall is no issue), but on Android I get "Impossible to connect to 192.168.0.13:8888 server."
I do not have older Delphi that can compile for Android so I cannot test if it's a Delphi 10.2 issue or not.
What can I do to further narrow down the issue or do I need to do something else Android-specific (https?).
Thanks!
Edit: I might add that the server side is compiled on XE4 but with same version mORMot library.
I also compiled the sample by Peter Evens from here https://synopse.info/forum/viewtopic.php?id=3418 (server and client in Delphi10.2) and I get the same error an Android, Win32 works fine.
Last edited by AntonE (2017-06-02 05:06:28)
Offline
Thank you,
my oversight,
the SSID my Android device was connecting to on my WiFi had Client-Isolation on, working fine now at least for a basic http connection.
Good bye datasnap for good!
AntonE
Offline