none
Unable to Connect to Redis Cache RRS feed

  • Question

  • We are trying to connect Azure redis  cache Paas Component via Redis connection Manager using Host name, Port Number, Primary Authentication key.

    We are unable to connect. Getting error "Cannot connect to Redis Server". 

    Kindly help..


    • Edited by Mohd Amjath Tuesday, July 16, 2019 11:52 AM
    Tuesday, July 16, 2019 8:17 AM

All replies

  • Most often it is one of the below

    • Redis cache is behind a firewall/VNET and your client IP is not configured 
    • Port 6379/6380 is blocked by a corporate firewall/proxy 
    • The clients (like redis-cli) do not support SSL 

    Please check if any of these could be causing the issue.

    You can try

    • Enabling the Non SSL Port and try connecting
    • Using a different client to check if that helps

    Do let us know if you need further assistance.



    Wednesday, July 17, 2019 3:46 AM
    Moderator
  • Hi...Greetings for the Day!!!

    Thanks for your response....

    Actually Redis is configured inside the VNET. 

    We are using Redis Desktop Manager to connect Redis.

    Non SSL Port (6379) is in Enabled State.

    In Pre-Prod Environment Redis is working fine without VNET.

    Kindly help me out on this Scenario.

    Thanks…...



    Wednesday, July 17, 2019 4:31 AM
  • Thank you for providing more details.

    Are you using Redis Desktop Manager from a VM inside the same VNET or from your local machine?

    You can access it only from an app/VM which is inside the same VNET.

    Could you please post a screenshot or log message to diagnose further.

    Wednesday, July 17, 2019 5:40 AM
    Moderator
  • No we are using redis manger from Local Computer.(Open Internet)

    Yes we are able to access from app/VM which is inside the VNET.

    Wednesday, July 17, 2019 7:44 AM
  • Yes, that is exactly how it is supposed to work for security reasons.

    What you have configured is a best practice for production environments.

    You will not be able to access it from the open internet.

    If you need to access it from an On-premise network or specific public IP range, you can configure the VNet accordingly.

    An example is here 

    -

    If the above answer was helpful, click “Mark as Answer” and “Up-Vote”, which might be beneficial to other community members reading this thread.


    Wednesday, July 17, 2019 10:34 AM
    Moderator
  • Just checking in to see if the above answers helped. If this answers your query, do click “Mark as Answer” and Up-Vote for the same. And, if you have any further query do let us know. 

    Thursday, July 18, 2019 2:33 AM
    Moderator