Can not connect to redis IP 127.0.0.1 or localhost
My server ubuntu install redis.
Meteor App deploy by MUP
Settings
{
"redisOplog": {
"redis": {
"port": 6379,
"host": "127.0.0.1"
},
"retryIntervalMs": 10000,
"mutationDefaults": {
"optimistic": true,
"pushToRedis": true
},
"debug": false,
"overridePublishFunction": true
}
}
How to connect redis on host
Thanks.
Is the redis server running - if you get a bash prompt and do server redis status
do you get output like redis-server (pid 22673) is running...
?
Any solutions on this? I’m having the same issue. redis-server is running. However, when the app starts, it says Connection to redis has ended and it fails to reconnect.
deploy by MUP cannot connect redis-server localhost
i change to deploy by pm2-meteor can connect redis localhost
Yeah it seems like MUP wrap the app in a container and it can’t connect to localhost.
I got it done by running redis on a separate server.