PremotePort
Bun

property

Socket.remotePort

readonly remotePort: number

Remote port connected to the socket

8080