Skip to main content
Up or down tonavigateEnter toselectEscape toclose⌘⇧KAI

property Socket.prototype.remotePort

The numeric representation of the remote port. For example, 80 or 21. Value may be undefined if the socket is destroyed (for example, if the client disconnected).

Type #

number | undefined