Internal Database URL not connecting to service?

Hello I am trying to connect my database to my service using the internal database URL but for some reason I keep getting a connection timeout issue and I am not sure why, both the database and the service run on the same region and I checked for any spelling errors but still getting the same error.

I have another database and a service that had connection with the internal db URL and that works but it does not work the other way around.