See the comment here https://github.com/rethinkdb/rethinkdb/issues/544#issuecomment-127435975 It might be useful to add a method to the connection objects that returns the outgoing IP port. This is probably a pretty simple client-side addition.