How-to point Ranger at a Ranger Remote service running on a different PC

Started by bclark, September 09, 2021, 02:56:56 PM

Previous topic - Next topic

bclark

By default, an insecure loopback URL is used for the socket connection between Ranger and Ranger Remote, listening on port
9002. The IP Address for local loopback is ?127.0.0.1?.

In order to override the target IP address of the Ranger Remote service, the JavaScript application can set the Ranger property
"wsUrl" to the target WebSocket URL address.

Example:
Ranger.wsUrl = ?ws://124.58.31.40:9002?


Ranger JavaScript will uses this URL when Ranger.StartUp() is called to establish a WebSocket connection to Ranger Remote service.