Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
140 views
in Technique[技术] by (71.8m points)

How to get access between a database and a mobile app that are not on the same network?

How will I be able to connect my app with a database that is on other network and private (maybe)? I have tried to connect my app with the database found on the same network and it works but not when my app is on another network. How to solve this?

question from:https://stackoverflow.com/questions/66061387/how-to-get-access-between-a-database-and-a-mobile-app-that-are-not-on-the-same-n

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You have to open at least the specific database (TCP) port (e.g. in the firewall) for both hosts and a routing between the networks should be existent.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...