520672
5206722w ago

not able to connect to local postgres server

Hi team I am trying to self host langfuse . And I wanted to setup my own local postgres server and not cloud.. but after this the traces are not recorded in the local db instance So what's the database server is this trying to connect. Which db server the langfuse traces are saved in and what needs to be changed if we wanted to connect to db server on our own cloud
No description
1 Reply
Marc
Marc2w ago
If you don’t want to use a local database but your hosted one, you need to provide DATABASE_URL that points to your production database running in your cloud environment. Often these aren’t publicly accessible though but only within a VPC or via VPN. I’d try to make sure that the db is accessible from your machine to rule out any potential issues.