Solved

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

Posted on 2009-07-06
5
467 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

734 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