OracleDB connection failing in Cloud but works fine Locally

Hello, I'm trying to connect to the OracleDB using Database Connector module available in the Marketplace. My connection works fine locally and I can retrieve data from the DB. However, when I run the same configuration on Test,Accp,Prod the connection to the DB fails. I receive this error.    "SQLRecoverableException: IO Error: The Network Adapter could not establish the connection"   What are some ways to resolve this error? Thank you in advance.    
1 answers

Is your database on-prem? You'll probably have to ensure it's accessible from the cloud by making your database available through the firewall.