LoginSignup
1

More than 5 years have passed since last update.

Azure Redis Cache の 非 SSL 接続を有効にする

Posted at

PHP から Azure Redis Cache のインスタンスへ接続できず、原因を探していると、デフォルトでは SSL ポートしか有効になっておらず、非 SSL ポートが無効になっていました。

Microsoft_Azure.png

非 SSL ポートを有効にするには、「アクセス」をクリックして、アクセスポートの「SSLによるアクセスのみ許可する」を「いいえ」にして、保存します。

Microsoft_Azure.png

これで、非 SSL ポートが有効になり、非 SSL で接続できます。

$ redis-cli -h xxxx.redis.cache.windows.net -a xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxx.redis.cache.windows.net:6379> ping
PONG

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1