Back to product page

RemotePort property


Holds the destination port on the remote computer.

Type

A Long value

Syntax

  • Basic
object.RemotePort   [= value]    
The RemotePort(object,value) syntax has these parts:
objectAn expression evaluating to an object of type Channel.
valueA Long value.

Remarks

The RemotePort property defines where all accepted connections will be forwarded, in association with the RemoteAddress property. You should always set this property. If you create a LocalListen tunnel, RemotePort defines where the SSH server will connect at the other end. If you create a RemoteListen tunnel, RemotePort defines where the SSH server will listen for connections that will subsequently be forwarded to the local computer.

Platforms

Windows