Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 449
gusVLZ Avatar asked Sep 14 '25 07:09

gusVLZ


1 Answers

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.

like image 108
gusVLZ Avatar answered Sep 17 '25 20:09

gusVLZ