{"action":"closed","issue":{"url":"https://api.github.com/repos/antirez/redis/issues/2420","labels_url":"https://api.github.com/repos/antirez/redis/issues/2420/labels{/name}","comments_url":"https://api.github.com/repos/antirez/redis/issues/2420/comments","events_url":"https://api.github.com/repos/antirez/redis/issues/2420/events","html_url":"https://github.com/antirez/redis/issues/2420","id":58758301,"number":2420,"title":"[BUG?] Redis can be slave of itself","user":{"login":"MasahikoSawada","id":4269963,"avatar_url":"https://avatars.githubusercontent.com/u/4269963?v=3","gravatar_id":"","url":"https://api.github.com/users/MasahikoSawada","html_url":"https://github.com/MasahikoSawada","followers_url":"https://api.github.com/users/MasahikoSawada/followers","following_url":"https://api.github.com/users/MasahikoSawada/following{/other_user}","gists_url":"https://api.github.com/users/MasahikoSawada/gists{/gist_id}","starred_url":"https://api.github.com/users/MasahikoSawada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasahikoSawada/subscriptions","organizations_url":"https://api.github.com/users/MasahikoSawada/orgs","repos_url":"https://api.github.com/users/MasahikoSawada/repos","events_url":"https://api.github.com/users/MasahikoSawada/events{/privacy}","received_events_url":"https://api.github.com/users/MasahikoSawada/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T15:55:01Z","updated_at":"2015-02-24T15:58:02Z","closed_at":"2015-02-24T15:58:02Z","body":"I noticed that Redis server allows to be slave of itself(binded address and port).\r\nIt leads to do unnecessary many loops and crash, and It's quite odd behavior.\r\n\r\n$ cat redis.conf | grep bind\r\nbind 172.16.216.134\r\n$ cli -p 8001 -h 172.16.216.134 slaveof 172.16.216.134 8001 \r\nOK\r\n$"}}