Skip to main content

remotePort

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).

number | undefined
Back to top