I made a Debian 9 VM on Azure, I also installed MariaDB, PHPMyAdmin, and node with pm2. With this, I set in inbound rules port 80 for HTTP, 3306 for MySQL and port 6379 for the Redis.
when i try to connect with the windows client it refuses or in code it also refuses and i get "Error: Redis connection to [someIP]:6379 failed - connect ETIMEDOUT [someIP]:6379". when I change the connection settings to another Redis I own it does work, so there shouldn't be an issue with the code.
in short: what should I check for a successful connection from my home network to the Redis on Azure.