{"id":1111,"date":"2010-08-06T06:02:26","date_gmt":"2010-08-06T06:02:26","guid":{"rendered":"http:\/\/www.theperfectarts.com\/?p=1111"},"modified":"2013-01-13T15:21:36","modified_gmt":"2013-01-13T15:21:36","slug":"horde-failed-to-connect-to-localhost25-error-message","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/horde-failed-to-connect-to-localhost25-error-message\/","title":{"rendered":"Horde Failed to connect to localhost:25 error message"},"content":{"rendered":"<p>On Shared server as well\u00a0 as on Dedicated server some time we are facing large connection issue to SMTP port 25 at that time mostly we disable SMTP port 25 and enable any other port for SMTP but after changing SMTP port mostly we receive following error message in Horde webmail.<\/p>\n<blockquote><p><span style=\"color: #800080;\">There was an error sending your message: Failed to connect  to localhost:25 [SMTP: Invalid response code received from server (code: 421,  response: Too many concurrent SMTP connections; please try again  later.)]<\/span><\/p><\/blockquote>\n<p>To resolve above error simply change SMTP port from 25 to new SMTP port\u00a0 in following file.<\/p>\n<p><strong>root@server [\/usr\/local\/cpanel\/base\/horde\/imp\/config<\/strong><strong>]# Pico servers.php<\/strong><\/p>\n<p><strong>And change following line<\/strong><\/p>\n<p><strong>From<\/strong><\/p>\n<p><strong>&#8216;smtpport&#8217; =&gt; 25,<\/strong><\/p>\n<p><strong>To<\/strong><\/p>\n<p><strong>&#8216;smtpport&#8217; =&gt; 26,<\/strong><\/p>\n<p>We have taken new port as 26 for example you can use any port as per your requirement.<\/p>\n<p>Similar problem with<strong> &#8220;Squirrelmail<\/strong>&#8221; then refer following steps.<\/p>\n<p><strong>root@server [\/usr\/local\/cpanel\/base\/3rdparty\/squirrelmail\/config]#pico c<\/strong><strong>onfig_default.php<\/strong><\/p>\n<p><strong>Change following line <\/strong><\/p>\n<p><strong>From<\/strong><\/p>\n<p><strong>$smtpPort = 25;<\/strong><\/p>\n<p><strong>To <\/strong><\/p>\n<p><strong>$smtpPort = 26;<\/strong><\/p>\n<p>Save file and exit and now open the webmail.<\/p>\n<p><strong><br \/>\n<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>On Shared server as well\u00a0 as on Dedicated server some time we are facing large connection issue to SMTP port 25 at that time mostly <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/horde-failed-to-connect-to-localhost25-error-message\/\" title=\"Horde Failed to connect to localhost:25 error message\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-1111","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/1111"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=1111"}],"version-history":[{"count":10,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/1111\/revisions"}],"predecessor-version":[{"id":3225,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/1111\/revisions\/3225"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=1111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=1111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=1111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}