{"action":"created","issue":{"url":"https://api.github.com/repos/wandoulabs/codis/issues/111","labels_url":"https://api.github.com/repos/wandoulabs/codis/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/wandoulabs/codis/issues/111/comments","events_url":"https://api.github.com/repos/wandoulabs/codis/issues/111/events","html_url":"https://github.com/wandoulabs/codis/issues/111","id":59040332,"number":111,"title":"proxy地址是localhost:19000的问题","user":{"login":"youwoa","id":11208577,"avatar_url":"https://avatars.githubusercontent.com/u/11208577?v=3","gravatar_id":"","url":"https://api.github.com/users/youwoa","html_url":"https://github.com/youwoa","followers_url":"https://api.github.com/users/youwoa/followers","following_url":"https://api.github.com/users/youwoa/following{/other_user}","gists_url":"https://api.github.com/users/youwoa/gists{/gist_id}","starred_url":"https://api.github.com/users/youwoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youwoa/subscriptions","organizations_url":"https://api.github.com/users/youwoa/orgs","repos_url":"https://api.github.com/users/youwoa/repos","events_url":"https://api.github.com/users/youwoa/events{/privacy}","received_events_url":"https://api.github.com/users/youwoa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-26T09:02:30Z","updated_at":"2015-02-26T09:08:17Z","closed_at":null,"body":"你好，最近在学习这个，按照安装说明服务是起来了，但是代理服务名字有问题，dashboard页面上显示localhost:19000而不是192.168.1.112:19000,用java调用的时候返回的代理地址也是localhost:19000，导致jodis访问报错，还请帮忙看下，谢谢\r\n\r\n15/02/26 16:59:59 [main] INFO  [org.apache.zookeeper.ZooKeeper] - Initiating client connection, connectString=192.168.1.112:2181 sessionTimeout=30000 watcher=org.apache.curator.ConnectionState@43ac12\r\n15/02/26 17:00:00 [main-SendThread(192.168.1.112:2181)] INFO  [org.apache.zookeeper.ClientCnxn] - Opening socket connection to server 192.168.1.112/192.168.1.112:2181. Will not attempt to authenticate using SASL (unknown error)\r\n15/02/26 17:00:00 [main-SendThread(192.168.1.112:2181)] INFO  [org.apache.zookeeper.ClientCnxn] - Socket connection established to 192.168.1.112/192.168.1.112:2181, initiating session\r\n15/02/26 17:00:00 [main-SendThread(192.168.1.112:2181)] INFO  [org.apache.zookeeper.ClientCnxn] - Session establishment complete on server 192.168.1.112/192.168.1.112:2181, sessionid = 0x14bc4f1790d1517, negotiated timeout = 30000\r\n15/02/26 17:00:00 [main-EventThread] INFO  [org.apache.curator.framework.state.ConnectionStateManager] - State change: CONNECTED\r\n15/02/26 17:00:01 [main] INFO  [com.wandoulabs.jodis.RoundRobinJedisPool] - Add new proxy: localhost:19000\r\nException in thread \"main\" redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool\r\n\tat redis.clients.util.Pool.getResource(Pool.java:53)\r\n\tat redis.clients.jedis.JedisPool.getResource(JedisPool.java:99)\r\n\tat com.wandoulabs.jodis.RoundRobinJedisPool.getResource(RoundRobinJedisPool.java:231)\r\n\tat Run.main(Run.java:14)\r\nCaused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused: connect\r\n\tat redis.clients.jedis.Connection.connect(Connection.java:148)\r\n\tat redis.clients.jedis.BinaryClient.connect(BinaryClient.java:75)\r\n\tat redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1790)\r\n\tat redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:71)\r\n\tat org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861)\r\n\tat org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)\r\n\tat org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)\r\n\tat redis.clients.util.Pool.getResource(Pool.java:51)\r\n\t... 3 more\r\nCaused by: java.net.ConnectException: Connection refused: connect\r\n\tat java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)\r\n\tat java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)\r\n\tat java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)\r\n\tat java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)\r\n\tat java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)\r\n\tat java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)\r\n\tat java.net.Socket.connect(Socket.java:579)\r\n\tat redis.clients.jedis.Connection.connect(Connection.java:142)\r\n\t... 10 more"},"comment":{"url":"https://api.github.com/repos/wandoulabs/codis/issues/comments/76144324","html_url":"https://github.com/wandoulabs/codis/issues/111#issuecomment-76144324","issue_url":"https://api.github.com/repos/wandoulabs/codis/issues/111","id":76144324,"user":{"login":"ngaut","id":878009,"avatar_url":"https://avatars.githubusercontent.com/u/878009?v=3","gravatar_id":"","url":"https://api.github.com/users/ngaut","html_url":"https://github.com/ngaut","followers_url":"https://api.github.com/users/ngaut/followers","following_url":"https://api.github.com/users/ngaut/following{/other_user}","gists_url":"https://api.github.com/users/ngaut/gists{/gist_id}","starred_url":"https://api.github.com/users/ngaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngaut/subscriptions","organizations_url":"https://api.github.com/users/ngaut/orgs","repos_url":"https://api.github.com/users/ngaut/repos","events_url":"https://api.github.com/users/ngaut/events{/privacy}","received_events_url":"https://api.github.com/users/ngaut/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T09:08:17Z","updated_at":"2015-02-26T09:08:17Z","body":"Looks like you are using wrong arguments to start proxy.\r\nPlease run below command, the paste the output here\r\nps -ef|grep codis"}}