failure to connect to port 10026

MH heller at relix.de
Thu Nov 17 12:23:39 CET 2005


Dear Community,

I just encountered an error where postfix said it could not connect to
port 10026... Here's the extract from the postfox log:
>>>>>
[.....] 10026 in /kolab/var/kolab/php/pear/Net/Socket.php on line 109
Failed to connect to $myclass: Failed to connect socket: Connection
refused, code 421
<<<<<

I understood the reason for the problem and I would like to let you know
in order to make the solution available to the search engines :-))

The cause here was that postfix is configured to listen to 127.0.0.1:10026
only.

So when there is no statement in /etc/hosts saying that localhost goes to
127.0.0.1, it will be difficult for the php script to connect to this
daemon.

My problem was that i had the localhost name behind the real IP address of
my machine. After I changed the localhost mapping to point to 127.0.0.1,
everything was fine.

Best wishes,
Markus





More information about the users mailing list