I'm using Hasura cloud and I can't connect to fly.io postgres app

I want to use fly.io (free tier) to connect with Hasura cloud, I’ve assigned IP and it seems that connection always refused. How to handle this issue?

Hey, you’ll need to add a services block to your Postgres app configuration. And to get the configuration fly config save --app <app-name> for more details check out this thread: Public URL / IP for Postgres Cluster.

thanks @rugwiro I’ll try.

@rugwiro what is the next step after I adding service block?