简体   繁体   中英

Use redis as a container in Azure Web App Service

I've been trying for a week now to deploy a Redis Container as a Azure Web App Service, but I can't manage to connect to it, after a few tries some of the logs I got are listed bellow:

  • The handshake failed due to an unexpected packet format redis
  • Protocol error, got "H" as reply type byte. Please report this.
  • Redis error Error: getaddrinfo ENOTFOUND https://*************.azurewebsites.net

Some of the things I tried:

  • Different doors (80, 6379, random ones I saw in logs)
  • Different TLS versions
  • Force https connection

Does anyone of you know if it's possible to do it? I know there's Azure Redis but it's too pricey for a test.

Thanks alot

just figured out.

You actually have to deploy your container image using container instances, pointing the port 6379/TCP.

I did it and it worked fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM