简体   繁体   English

winform(C#)连接远程Oracle数据库

[英]winform(C#) connect remote oracle database

I meet a problem in developing winform (C#) project. 我在开发Winform(C#)项目时遇到问题。 How can the client from one computer of the local network A connect the oracle database which is in one computer of network B (A and B are not in the same local network). 来自本地网络A的一台计算机的客户端如何连接位于网络B的一台计算机中的oracle数据库(A和B不在同一本地网络中)。

Possible solutions : 可能的解决方案 :

  • Setting up a vpn to access the network where the Oracle database is hosted. 设置VPN以访问托管Oracle数据库的网络。
  • Setting up ssh (similar to vpn) ( http://www.akadia.com/services/ssh_connect_tunnels.html ) 设置ssh(类似于vpn)( http://www.akadia.com/services/ssh_connect_tunnels.html
  • Directly expose the server and port Oracle is running on to the internet, you'll need a static ip for this to work (not recommended). 直接将Oracle和正在运行的服务器和端口公开到Internet上,您需要一个静态IP才能正常工作(不推荐)。
  • Setting up a connection manager on a dmz server 在DMZ服务器上设置连接管理器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM