PHP Classes

works great on localhost But fails on my konsoleh server

Recommend this page to a friend!

      Verify e-mail  >  All threads  >  works great on localhost But fails...  >  (Un) Subscribe thread alerts  
Subject:works great on localhost But fails...
Summary:HELP
Messages:5
Author:yadwinder
Date:2017-04-11 11:49:22
 

  1. works great on localhost But fails...   Reply   Report abuse  
Picture of yadwinder yadwinder - 2017-04-11 11:49:22
i am getting this response:
mail.mxproc.com:Connection refused
All connection fails

  2. Re: works great on localhost But fails...   Reply   Report abuse  
Picture of Konstantin Granin Konstantin Granin - 2017-04-11 12:09:50 - In reply to message 1 from yadwinder
You must ensure that the connection is not blocked. The port may be closed (firewall) or external connections are prohibited.

  3. Re: works great on localhost But fails...   Reply   Report abuse  
Picture of yadwinder yadwinder - 2017-04-11 12:31:37 - In reply to message 2 from Konstantin Granin
i have checked all the connections.but still it is not working.

  4. Re: works great on localhost But fails...   Reply   Report abuse  
Picture of yadwinder yadwinder - 2017-04-11 13:09:05 - In reply to message 3 from yadwinder
when i set port to
protected $port = 25;
then it is showing :

mail.mxproc.com:Connection timed out
All connection fails

this response.

  5. Re: works great on localhost But fails...   Reply   Report abuse  
Picture of Konstantin Granin Konstantin Granin - 2017-04-11 14:44:43 - In reply to message 4 from yadwinder
Because port 25 is closed.
Check your firewall, antivirus