Title: Server closed the connection
Last modified: November 24, 2020

---

# Server closed the connection

 *  Resolved [rashkoff](https://wordpress.org/support/users/rashkoff/)
 * (@rashkoff)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/server-closed-the-connection/)
 * Hello,
    I have a strange issue Redis server is running normally. After few time(
   random period of time) the server close the connection with this: `Error: Server
   closed the connection` Then I tried redis-cli or redis-cli monitor command. return:`
   Could not connect to Redis at 127.0.0.1:6379: Connection refused` I need to run`
   sudo systemctl start redis` and the server start correctly `sudo systemctl enable
   redis` is already enable. Do you have any idea how to fix this? Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/server-closed-the-connection/#post-13705050)
 * No, I’d suggest asking your hosting company with assistance on how to ensure 
   that Redis Server stays up and running.
 * `sudo systemctl enable redis` looks good, but maybe you need supervisord.

Viewing 1 replies (of 1 total)

The topic ‘Server closed the connection’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/server-closed-the-connection/#post-13705050)
 * Status: resolved