net::ERR_NAME_NOT_RESOLVED

I am having an issue connecting from a public web service (react UI) to a private service (.NET web API).

The public web service is using a free instance, and the private service is a paid starter service.

The UI is making a GET request to the equivalent of https://{host}:{port}/{resource} and I made sure to copy and paste the connection details from the render dashboard.

From what I have read in the documentation, a free web service should be able to make calls to a private service as long as they are in the same region and part of the same workspace, and they are.

I have tried upgrading the UI web service to a paid instance, but yielded the same results.

I have looked through the existing docs and topics on the forum but none of them seem to be the same case as this.

please can someone help?

Many thanks!

EDIT: I guess the API should be a public web service and then I just call the public facing url, i.e. https:// some-app.onrender .com?

Correct, you should be using a webservice here.

A private service can only be accessed by other services in your workspace via the internal network. So a ReactUI would not be able to access it from the visitors browser.

1 Like