HOWEVER, when sending the request from Google Cloud Run the API I’m using returns something different. Instead I get this response:

{ ip: '169.254.8.129', reserved: true }

I think this problem is with either Google Cloud Run or Docker because I also have issues with making HTTP requests to other sites, like ipstack.com.

I am deploying to Google Cloud Run by using Docker. My Dockerfile is using node:10 and exposes the PORT environment variable like the documentation says. Everything else works fine except for this HTTP request. I’ve tried both axios and fetch.