dev-moa
TRIALOP
2 years ago
i am trying to connect redis instance to my django cacheops app but its giving me error : The cacheops cache is unreachable! Error: Error -2 connecting to redis.railway.internal:6379. Name or service not known.
warnings.warn("The cacheops cache is unreachable! Error: %s" % e, RuntimeWarning)
4 Replies
2 years ago
redis.railway.internal can only be accessed by services that are in the same project and environment. More on that can be found in the docs:
2 years ago
If your django app is running outside of Railway, such as running it locally, you would have to use the public url of your redis instance to access it.
2 years ago
!s
Status changed to Solved brody • over 1 year ago