Fail to connect to private service

I’m trying to connect my Web Service with a private service, they are in the same region/time.

Here is my request:

export async function signInRequest(email: string, password: string): Promise<SignInData>{
    const response = await axios({ method: 'post', url: 'https://mathy-core:3000/'});
    return response.data;
}

This call is made by NextJs.

I am getting the error net::ERR_NAME_NOT_RESOLVED

Here is my private service:

image

  • If I change from HTTPS to HTTP I get the blocked:mixed-content error

Hi there,

You’re attempting to use https in that connection string but that itself would not result in a not resolved error - you’ve said they are in the same region, is the service you are making the connection from using a paid instance type?

Regards,

John B
Render Support, UTC+1 :uk:

Hi John,

The private service is using the starter type and the NextJS web service is using free type

there we go, free instance types can’t use the internal network - https://render.com/docs/free#other-limitations

John B
Render Support, UTC+1 :uk:

oh, I see, thanks

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