Unable to hit my service from serverless app even after whitelisting Freshdesk IPs

Hi,

I have created a serverless app from which I’m hitting my backend service using axios. I have got all the IPs shared by Freshdesk support whitelisted at my backend. Still the IPs in X-Forwarded-For header are different.

IP received in X-Forwarded-For: 34.160.192.193

After whitelisting above IP it started working fine.

Kindly share list of IPs to be whitelisted.

IP list given by support:
52.23.125.16 52.6.203.74 52.70.237.175 52.204.105.214 52.204.121.147 52.70.141.174 18.207.85.237 54.172.69.206 54.152.41.238 54.175.228.53 52.7.252.72 52.70.207.160 52.86.96.27 34.202.174.188 52.203.5.138 44.206.73.232 44.206.73.233 44.206.73.234 44.206.73.235 44.206.73.236 44.206.73.237 44.206.73.238 44.206.73.239

Code:

onTicketUpdateHandler: async function (payload) {
        var resp =  await axios.post(url, payload);
      }

Thanks in advance.

The egress IPs we list in our docs are valid only if you use Request Method, which proxies the request through an internal service. When using a 3rd party library, like axios, the requests directly originate from the Lambda function running your serverless app’s event trigger. In that case, you will see different IPs than the ones mentioned.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.