Redis doesn't seem to be on Private network
I'm not seeing a
REDIS_PRIVATE_URL
advertised in the "Available Variables" tab of my Redis service. Does this mean internal is not available?
All my other services have Private Networking addresses so I assume it's enabled for my environment... I tried adding REDIS_PRIVATE_URL
in the Variables of another service and it didn't work ("empty string"). How can I enable private networking for Redis?25 Replies
Project ID:
4a16e9ec-eba0-41dd-8e28-8860b47780d8
4a16e9ec-eba0-41dd-8e28-8860b47780d8
Are you using the redis plugin?
could you send me a screenshot of your redis database as it shows in the your deploy
I added it using "New -> Database"
And it has a volume attached, right?
No, there's no volume
🤨 no volume?
mind sending a screenshot?
Sure
1 sec
Yea you're using a legacy version of the redis database which doesn't include private networking
I deleted this Redis and added a new one
Same problem
that's odd 🤔
I'm looking for
REDIS_PRIVATE_URL
, right?yea
Could you try deploying from this template:
https://railway.app/template/redis
Solution
this one has the new redis which should have private networking enabled
This looks better
Thank you
so Template > Redis is the preferred way to go?
Nah, I think in new deployments the redis database should be the new version
idk why yours was on the old version, but if you can't manage to get the new redis running then just try to do it from the template
( applies for any database )
Ok, thanks
no problem :)
non beta users still deploy the plugin, beta users deploy the template version
oooh okay