Skip to main content
property Socket.prototype.localPort

The numeric representation of the local port. For example, 80 or 21.

Type

number
Back to top