简体   繁体   English

我需要在 azure 中配置什么才能连接到位于另一台服务器上且只能通过 vpn 访问的数据库?

[英]What do I need to configure in azure so that I can connect to a database located on another server and accessible only through a vpn?

I have an API that is implemented through the WCF service.我有一个通过 WCF 服务实现的 API。 This application has a database that is only available through a VPN connection.此应用程序有一个只能通过 VPN 连接使用的数据库。 I tried to deploy this application on azure, however, when sending a request to some endpoint, I get a 502 error.我尝试在 azure 上部署此应用程序,但是,当向某个端点发送请求时,出现 502 错误。 I think this is due to the fact that my server is not connected to a VPN.我认为这是因为我的服务器没有连接到 VPN。

What do I need to configure on azure to connect to an existing VPN, or how can I solve this problem in another way?我需要在 azure 上配置什么才能连接到现有的 VPN,或者如何以其他方式解决此问题?

502 Error Is an error code generated when no response is received from the server. 502 Error 是在没有收到服务器响应时产生的错误代码。

According to your description, the server is not connected through VPN and the application needs to connect to VPN to access, which should be the problem you said.根据你的描述,服务器没有通过VPN连接,应用需要连接VPN才能访问,应该是你说的问题。 The link below is for a tutorial on setting up a VPN: https://www.rebeladmin.com/2016/12/step-step-guide-configure-site-site-vpn-gateway-connection-azure-premises-network/下面的链接是关于设置 VPN 的教程: https : //www.rebeladmin.com/2016/12/step-step-guide-configure-site-site-vpn-gateway-connection-azure-premises-network /

暂无
暂无

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

相关问题 我可以在不使用 VPN 应用程序的情况下通过代码连接到 VPN 服务器吗? - Can I Connect to VPN server through code without using VPN application? VPN / SignalR 不能一起工作。 我能做些什么? - VPN / SignalR not working together. what can i do? WebGL 构建不起作用(构建错误位于下方),我正在编写 C# 游戏,我需要通过链接将其联机。 我该怎么办? - WebGL build is not working(build error located below), I am coding a C# game a I need to get it online through a link. What do I do? 如何以编程方式连接到 VPN? - How can I programmatically connect to a VPN? 如何从数据库中获取数据,以便可以通过JavaScript创建动态元素? - How do I fetch data from the database so I can create dynamic elements through javascript? 如何配置NHibernate,以便可以根据需要创建一个新的会话(新会话)? - How can I configure NHibernate so that I can create a new (Brand New) session as I need it? 我可以用另一种语言连接到数据库吗 - Can I connect to database with another language 如何连接到SQL Server并通过ASP.NET Web窗体查看数据库中的数据? - How can I connect to SQL Server and view the data in the database through ASP.NET Web Form? 如何冻结集合以便可以迭代它? - How do I freeze a collection so that I can iterate through it? 我需要什么信息才能连接到C#中的Active Directory? - What info do I need to connect to Active Directory in C#?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM