[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 477
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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