Computer Tips - Connection to storage server failed. Server Error: Could not connect to localhost4:143: Connection refused

Date: 2017jul12 Product: Roundcube webmail OS: Linux Q. Connection to storage server failed. Server Error: Could not connect to localhost4:143: Connection refused Why? A. This worked for me. In file /etc/roundcubemail/config.inc.php I commented out the line specifying the IMAP vendor:
# $config['imap_vendor'] = 'dovecot';
And restarted Apache:
systemctl restart httpd
Perhaps Dovecot changed its behaviour in a way Roundcube wasn't aware of?