Question

Is it possible to get the client's ip address on clientside (within the browser) when using socket.io? Using pure Javascript alone can't get the client's IP address.

Was it helpful?

Solution

There is no way, unless you send the IP address over the socket from the server side.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top