#1 (permalink)  
Old 07-20-2006, 02:39 PM
mahdionline's Avatar
Registered User
 
Join Date: Oct 2003
Posts: 127
mahdionline is on a distinguished road
Warning: fsockopen(): unable to connect to localhost:25

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-20-2006, 03:04 PM
Registered User
 
Join Date: Jan 2005
Posts: 1,874
webignition is on a distinguished road
Does the same happen with the IP or domain name?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-20-2006, 04:19 PM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
Make sure you haven't enabled the WHM > Tweak Security > SMTP Tweak, as that's exactly what that does.
__________________
Jonathan Michaelson
cPanel Forum Moderator

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-21-2006, 12:01 AM
mahdionline's Avatar
Registered User
 
Join Date: Oct 2003
Posts: 127
mahdionline is on a distinguished road
Quote:
Originally Posted by chirpy
Make sure you haven't enabled the WHM > Tweak Security > SMTP Tweak, as that's exactly what that does.
No, We use port 25.

All thing was done before Reboot.

__________________
Mahdionline
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-21-2006, 03:29 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
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
cPanel Forum Moderator

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 08-02-2006, 12:37 PM
Registered User
 
Join Date: May 2004
Posts: 71
biggdogg285
I'm just wondering if you think this SMTP tweak should be on or off.
Do you have it enabled or disabled?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-03-2006, 11:57 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
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
cPanel Forum Moderator

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 08-03-2006, 12:14 PM
Registered User
 
Join Date: May 2004
Posts: 71
biggdogg285
I understand. Thank you for your reply...

Regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:06 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc