Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 474
  • Last Modified:

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

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
kirkheaton25
Asked:
kirkheaton25
  • 2
  • 2
2 Solutions
 
lharrispvCommented:
are you behind a firewall?  Is the port blocked or busy?
0
 
kirkheaton25Author Commented:
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
 
Jan SpringerCommented:
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
 
kirkheaton25Author Commented:
Thanks for your help. Installed Dovecot and now working.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now