R
Railway•8mo ago
acron

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?
Solution:
this one has the new redis which should have private networking enabled
Jump to solution
25 Replies
Percy
Percy•8mo ago
Project ID: 4a16e9ec-eba0-41dd-8e28-8860b47780d8
acron
acron•8mo ago
4a16e9ec-eba0-41dd-8e28-8860b47780d8
Fragly
Fragly•8mo ago
Are you using the redis plugin? could you send me a screenshot of your redis database as it shows in the your deploy
acron
acron•8mo ago
I added it using "New -> Database"
Fragly
Fragly•8mo ago
And it has a volume attached, right?
acron
acron•8mo ago
No, there's no volume
Fragly
Fragly•8mo ago
🤨 no volume? mind sending a screenshot?
acron
acron•8mo ago
Sure 1 sec
acron
acron•8mo ago
No description
Fragly
Fragly•8mo ago
Yea you're using a legacy version of the redis database which doesn't include private networking
acron
acron•8mo ago
No description
acron
acron•8mo ago
I deleted this Redis and added a new one
acron
acron•8mo ago
No description
acron
acron•8mo ago
Same problem
Fragly
Fragly•8mo ago
that's odd 🤔
acron
acron•8mo ago
No description
acron
acron•8mo ago
I'm looking for REDIS_PRIVATE_URL, right?
Fragly
Fragly•8mo ago
yea Could you try deploying from this template: https://railway.app/template/redis
Solution
Fragly
Fragly•8mo ago
this one has the new redis which should have private networking enabled
acron
acron•8mo ago
This looks better Thank you so Template > Redis is the preferred way to go?
Fragly
Fragly•8mo ago
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 )
acron
acron•8mo ago
Ok, thanks
Fragly
Fragly•8mo ago
no problem :)
Brody
Brody•8mo ago
non beta users still deploy the plugin, beta users deploy the template version
Fragly
Fragly•8mo ago
oooh okay