简体   繁体   中英

Get IP address on client side with socket.io

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.

除非您从服务器端通过套接字发送IP地址,否则没有办法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM