[英]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.