Hi,
after a reboot (by EV1 panel), I get this error in one of our php script :
Warning: fsockopen(): unable to connect to localhost:25 in . . ..
What's the problem ?
regard
Hi,
after a reboot (by EV1 panel), I get this error in one of our php script :
Warning: fsockopen(): unable to connect to localhost:25 in . . ..
What's the problem ?
regard
Mahdionline
Does the same happen with the IP or domain name?
Make sure you haven't enabled the WHM > Tweak Security > SMTP Tweak, as that's exactly what that does.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
No, We use port 25.Originally Posted by chirpy
All thing was done before Reboot.
![]()
Mahdionline
You seem to be consuing what I said with something else. Have you checked that that setting I mentioned is not enabled? That setting blocks access to port 25 from localhost.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
I'm just wondering if you think this SMTP tweak should be on or off.
Do you have it enabled or disabled?
I don't use it myself. However, if you believe you have outgoing spam abusing port 25, then it's worth implementing unless you use an iptables configuration script. In that case, you would have to use that to block port 25 in ther same manner as the SMTP Tweak does.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
I understand. Thank you for your reply...
Regards