RemotePort Property
The remote exec service port (default is 512).
Syntax
public var remotePort: Int32 {
get {...}
set {...} }
Default Value
512
Remarks
The RemotePort property specifies the rexec service port on the remote host.
A valid port number (a value between 1 and 65535) is required for the connection to take place. The property must be set before command execution is attempted.