ConnectionError while connecting to redislab redis instance from pythonanywhere account but same works on local machine.
ConnectionError while connecting to redislab redis instance from pythonanywhere account but same works on local machine.
Outgoing internet access for free accounts are restricted to http/https connections to a limited whitelist
If it has a public api with http/https endpoints, let us know and we can add it to the whitelist for you.
I want to use redis from redislab.com. hostname is 'pub-redis-15946.us-east-1-2.4.ec2.garantiadata.com'. Can u please add it to whitelist
OK, that's whitelisted.
still getting same error. is whitelisting specific to port ?
Ah, sorry, I'm an idiot. The whitelist only works for HTTP/HTTPS access, we have no way of whitelisting other protocols. For some reason I misread redis (which doesn't use HTTP/S) for Mongo, which does.
Unfortunately we can't whitelist this site for a free account. Paid accounts have unrestricted Internet access.
Please also whitelist redislabs.com
Unfortunately adding that to our allowlist would not help, because Redis uses a non HTTP/HTTPS protocol to connect to the server. The allowlist only allows through HTTP or HTTPS requests.