I had to debug an interesting issue today: One request to a background system is constantly failing when done by our server. But works fine when I try the same request via curl. The error message for the failing one is ECONNREFUSED. I have no idea why it would not work :-(.