Internet Direct (Indy) Version 9.0.2 Beta
TIdRSHServer.DefaultPort
The port number used when listening for new client connections.

property DefaultPort;
Description
DefaultPort is an Integer property that represent the default port number used to listen for new client connections. The value of DefaultPort is provided for use with TIdSocketHandles. TIdTCPServer and descendant classes use the DefaultPort number to bind allocated sockets handles when the Active property to set to True.

The default value for DefaultPort is Id_PORT_cmd as assigned in the Create method.