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:
If I change from HTTPS to HTTP I get the blocked:mixed-content error
John_B
October 19, 2023, 1:11pm
2
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
Hi John,
The private service is using the starter type and the NextJS web service is using free type
John_B
October 19, 2023, 1:21pm
4
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
system
Closed
November 18, 2023, 1:24pm
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.