Can't connect to a DataSnap server in another city

155 Views Asked by At

I create a server and client using DataSnap in a Delphi app.

In the server, I have TFDConnection, TFDQuery, and TDataSetProvider.

In the client, I use TSQLConnection, TDSProviderConnection, TClientDataSet, and TDataSource to show data in a TDBGrid.

I open a port in the modem firewall and in Windows Firewall. My client is in New York and my server is in Chicago. I want to connect my client to my server.

In the client TSQLConnection Params, I set the host name to my IP address in Chicago, but when I run my client, it can't connect to my server.

What can I do to fix this?

0

There are 0 best solutions below