Solved

Getting "Connection Refused" when trying to connect through port 143

Posted on 2009-07-06
5
460 Views
Last Modified: 2013-12-06
I have setup a Postfix server and can send and recieve mail using the webadmin interface.
Whenever I try to connect to port 143  with either fsocketopen in a php script, or telnet I get a "Connection refused" error.

Iptables has nothing set up.
hosts.deny has "portmap: ALL EXCEPT 127.0.0.1"


Any advice regarding troubleshooting this would be greatly appreciated!
0
Comment
Question by:kirkheaton25
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:lharrispv
ID: 24786489
are you behind a firewall?  Is the port blocked or busy?
0
 
LVL 1

Author Comment

by:kirkheaton25
ID: 24786627
I am running the script from the same server, and using telnet from the server also.
(As there is nothing in iptables, I presume there is effectively no firewall.)
What method should I use to tell if the port is blocked or busy?
0
 
LVL 8

Accepted Solution

by:
lharrispv earned 250 total points
ID: 24786656
0
 
LVL 28

Assisted Solution

by:Jan Springer
Jan Springer earned 250 total points
ID: 24787557
Port 143 has nothing to do with Postfix.

Are you running a POP/IMAP server and has the configuration file been updated to do IMAP?
0
 
LVL 1

Author Closing Comment

by:kirkheaton25
ID: 31600211
Thanks for your help. Installed Dovecot and now working.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now