Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

By Eleanor
I’m using App Platform and have got the following components setup in it:
library)The Web Service is a simple NodeJS application with a few endpoints in it. I’ve setup App Platform so that the Web Service uses internal ports only, meaning it cannot be accessed from the internet. All of my Functions are exposed to the public internet however and I am able to use Postman to call them.
I’d like to have my Functions call endpoints in my Web Service. Reading the documentation it appears that this should be possible if components belong to the same App Platform, however when my Function attempt to call any Web Service endpoint (example: http://library:{port}/get-books) it returns Error: getaddrinfo ENOTFOUND library, implying it cannot reach the endpoints in the Web Service.
Is my approach to call endpoints in the Web Service correct? Or have I misinterpreted the documentation and Functions are not included as components that are able to use the private network?
Documentation referenced:
Rory McEwan
Anjanesh Lekshminarayanan
182d09356ab94d3893ddfaca4f0270
Prashant Kumbhat
kprichard
e452769e8f30404d81a3bc803143f4
robert
GamesmenJordan
EricWVGG