Skip to main content
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
Back to top