Problems with PHP authentication imap/smtp proxy

Maxim Dounin mdounin at
Mon Apr 14 11:06:42 UTC 2014


On Sun, Apr 13, 2014 at 03:25:35PM -0400, cybermass wrote:

> I managed to write my php auth script but still having problems
> authenticating. 
> Also this is what I see in the logs:
> [error] 22014#0: *3234 recv() failed (111: Connection refused) while in http
> auth state, client: back.end.ip server:, login:
> "user at"
> Also do I call this script with the following auth_http line? I never see
> anything listening on 9000. Where is this 9000 coming from? I just see
> everyone using it:
> auth_http;

It's just a random port number, which is expected to be used by 
a HTTP server which is capable of running your auth script.

Maxim Dounin

More information about the nginx mailing list