{"action":"opened","issue":{"url":"https://api.github.com/repos/ray-project/ray/issues/1807","repository_url":"https://api.github.com/repos/ray-project/ray","labels_url":"https://api.github.com/repos/ray-project/ray/issues/1807/labels{/name}","comments_url":"https://api.github.com/repos/ray-project/ray/issues/1807/comments","events_url":"https://api.github.com/repos/ray-project/ray/issues/1807/events","html_url":"https://github.com/ray-project/ray/issues/1807","id":310358188,"number":1807,"title":"Connecting to a different node with XRay","user":{"login":"pcmoritz","id":113316,"avatar_url":"https://avatars1.githubusercontent.com/u/113316?v=4","gravatar_id":"","url":"https://api.github.com/users/pcmoritz","html_url":"https://github.com/pcmoritz","followers_url":"https://api.github.com/users/pcmoritz/followers","following_url":"https://api.github.com/users/pcmoritz/following{/other_user}","gists_url":"https://api.github.com/users/pcmoritz/gists{/gist_id}","starred_url":"https://api.github.com/users/pcmoritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcmoritz/subscriptions","organizations_url":"https://api.github.com/users/pcmoritz/orgs","repos_url":"https://api.github.com/users/pcmoritz/repos","events_url":"https://api.github.com/users/pcmoritz/events{/privacy}","received_events_url":"https://api.github.com/users/pcmoritz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-01T22:12:28Z","updated_at":"2018-04-01T22:12:28Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"There are two issues I've been running into so far when trying to connect two raylets from different nodes:\r\n\r\n1. The local_endpoint from https://github.com/ray-project/ray/blob/6e06a9e338e1045fa0ba73b366bb78a2c7f0fef8/src/ray/raylet/raylet.cc#L60 refers to a local IP address (in my case 0.0.0.0) which cannot be accessed remotely. We need to add a public IP address into redis. We can solve this as in the old codebase and have the node IP address passed in via Python.\r\n\r\n2. Connections from remote nodes need to be activated for redis, from the command line this works as follows:\r\n```\r\nredis-cli config set protected-mode no\r\n```\r\nThis should be done automatically."}}
{"actor":{"display_login":"pcmoritz"}}