Why Redis server refuses domain connection after a night?

24 views
Skip to first unread message

New CSer

unread,
May 17, 2017, 3:51:49 PM5/17/17
to Redis DB
My env is Ubuntu server hosted in Azure. I installed the Redis, changed the bind to 0.0.0.0 . The server has a domain, for example myredis.com
Initially, everything is good. On that server, I can run redis-cli -h localhost or redis-cli -h myredis.com. However, as long as a period of time, the connection to myredis.com is rejected, showing timeout error. But  redis-cli -h localhost always work. I have to restart redis server again to make everything back to normal. Then, after a period of time, the access to domain fails again, restart redis server again...

Any suggestion?

New CSer

unread,
May 17, 2017, 10:25:12 PM5/17/17
to Redis DB
It seems I found the direct reason. Max client connection reached. My is 100 only. The redis closed the socket connection.
Reply all
Reply to author
Forward
0 new messages