at this time you can’t. You can’t access the connection in channels because channels are transport agnostic (websocket, longpolling …), the straightforward solution is to pass the IP address as a parameter when connecting to the socket using some sort of ajax request to get the client IP