remoteAddress

PremoteAddress
Bun

Symbol

ServerWebSocket.remoteAddress

readonly remoteAddress: string

The IP address of the client.

console.log(socket.remoteAddress); // "127.0.0.1"