> Ok, then how about the user privileges? When you call it from the
> browser you're running under a different ID than when you're calling
> from the command line.
>
Does it make any difference?
iptables and pg_hba.conf are allright on the external server. I don't
need to make any changes there, I think.