I'm trying to deploy a small application to allow my users to backup and restore their local IBX database. The application works great on my development machine but when deployed, customers get the error "Unable to complete network request to host: localhost/3050". I added the line "gds_db 3050/tcp # InterBase Server" into the Services file. I have the following settings in the code for IBBackup
Host := 'localhost';
Protocol := ipLocal;
DriverLink := FDPhysIBDriverLink1;
I looked all over online but can't seemed to find answers to solve this error on a local machine.
My guess would be a firewall. Another possibilities are that the server is not running, or that it is running on a port other than 3050. Interbase documentation covers this all, see: http://docwiki.embarcadero.com/InterBase/2017/en/Connection_Refused_Errors
This is an embedded database. In the main application, I use a connection component and all works fine. This is a quick utility for the user to run a backup or restore outside of the application. I guess I'll need to rethink my approach and work with the connection components. I thought TFDIBBackup was more self-contained.
Perhaps you have the Desktop edition instead of server edition? A Host of 'Localhost' will not work with Desktop edition. It's been years since I used TFDIBBackup , but I suspect leaving Host blank is what you'd want for Desktop edition.
WOW! that was it, thanks Quinn