Spring boot with graalvm native image - cannot connect to DB using private network

michalpetizkaHOBBY

a year ago

Hi, I have Spring boot application with native image. And I want to connect to postgres DB using private network which is deployed to the same project, but I am getting error:

Caused by: java.net.UnknownHostException: postgres.railway.internal

I double checked all variables and they are correct. Also I tried to set ENABLEALPINEPRIVATE_NETWORKING variable, but it doesn't helped too.

2 Replies

michalpetizkaHOBBY

a year ago

project id: cea0915d-1027-4b7a-bc80-232f8800d9d5


This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.