Icon RemotePort Property

property RemotePort: Integer


Use the RemotePort property to specify the port of a database server that you wish to connect to. This property only applies to remote sessions where the SessionType property is set to stRemote. When the session is opened via the Open method or by setting the Active property to True, DBISAM will attempt to connect to the database server specified by the RemoteAddress or RemoteHost and RemotePort or RemoteService properties.

Information A database server listens on two different ports, one for normal data connections and one for administrative connections. Be sure to set the correct port using this property or you will get errors when trying to execute administrative functions on the normal data port or vice-versa. This is especially important since the administrative port requires encrypted connections (RemoteEncryption=True).