I am not able to connect my DB2 instance when deploying in streamlit cloud

when i run my code in local machine the Db2 instance gets connected and the app runs. But when i tried to deploy using streamlit cloud the connection is failing

Hey @anirudh_bhaskar,

Thanks for sharing this question.

Without seeing your code, my best guess would be that your DB2 instance might be blocking the requests coming from your deployed app since the IP address is unfamiliar.

Can you share the link to the GitHub repo and deployed app?

The issue was that the firewall is blocking the IP address. I need to add Source and destination IP to my DB2. Where do i check source IP for streamlit cloud?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.