Click here to Skip to main content
15,798,826 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am using Delphi XE7. I have recently completed a Client Application, which is a Multi Device Application in delphi, and I have created a DataSnap REST Server Application that communicates directly to SQL Server 2012. The DataSnap App is well able to read data from SQL (as it should).

Now I would like to connect the Client App to the DataSnap App via the FireDAC Framework. Each time I enter the required parameters and test the connection (while the server is running), it tells me "Socket Error #10061 Connection Failed".

Is there anything that I could be missing? I am using http protocol without authentication specifications.
Updated 16-May-16 4:44am

1 solution

Are You choose remote server? In XE7 You need to choose "remote server" when you adding a clientmoduleunit to Yours project. Choose "remote server" and as host name enter Also choose a specific port like e.g. 3131 Other ports may be used by system, and the syystem firewall can block them for other applications
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900