2017-12-14 9 views

答えて

0

official documentとケースDoes Azure Redis work over http?によれば、Azure RedisはTCPプロトコルを使用し、HTTPプロトコルをサポートしていません。

HTTPプロキシの代わりにソケット4/5プロキシを使用し、Javaアプリケーションでプロキシパラメータを設定する必要があります。

Properties prop = System.getProperties(); 
prop.setProperty("socksProxyHost", "IP ADDRESS"); 
prop.setProperty("socksProxyPort", "PORT"); 
Authenticator.setDefault(new MyAuthenticator("userName", "Password")); 
関連する問題