I bumped into a problem where http-requests fail if it’s done against a non-standard port (in this case i use port 8139). Creating a reverse proxy that forwards the traffic from port 80/443 (with/and without ssl) → to port 8139 works as expected…
I wonder if there is a setting somewhere that limits access to “wrong” ports?
I could not find anything about port-settings for requests done out from n8n, so then it has to be a bug in the “http-requests”-node that can’t handle non-standard ports.
The reverse proxy in front of the server with port 8139 is fine, because the proxy solves the issue…
edit: I’ll file a bugreport, because i could not figure this out…
I wonder if some parameter has to be set aside from adding the port in the URL. The library that we use under the hook is request - npm. So if that library supports it, n8n should be able to do it.
I solved this by setting up a forwarding proxy. This way it works. The issue stays when eg. ssl-requests requests are done to non-standard ports… Same goes for the n8n-cloud that we tested, but had to ditch due to this problem