[英]Can not connect to sql database on azure from behind the proxy server in sql management studio?
Recently i had deployed a website on Microsoft azure platform. 最近,我在Microsoft azure平台上部署了一个网站。 I had configured SQL database on azure.
我已经在azure上配置了SQL数据库。 I am working behind proxy server so i had registered my proxy server IP address to the Azure portal where i had enabled SQL server access to true and inserted my IP address so azure can allow me to access.
我在代理服务器后面工作,因此我已将代理服务器IP地址注册到Azure门户,在该门户中我已启用SQL Server对true的访问并插入了我的IP地址,以便天蓝色可使我访问。
In my proxy server, i had pointed out SQL server name (given from azure) to one of local IP address for using it locally. 在我的代理服务器中,我已指出SQL服务器名称(从azure获得)指向本地IP地址之一,以便在本地使用它。 When i had tried to connect with username and password provided by azure.
当我尝试使用azure提供的用户名和密码进行连接时。 I got following error message as find an image in attachment.
当在附件中找到图像时,出现以下错误消息。
It has been displayed as a connection was successfully established but during pre-login handshake, an error is occurred that existing connection has been forcibly closed by the remote host. 它已显示为已成功建立连接,但在登录前握手期间,发生了一个错误,即现有连接已被远程主机强行关闭。 As i had registered my IP address in SQL azure portal for access.
因为我已经在SQL azure门户中注册了我的IP地址以进行访问。
Please suggest me a better way of it. 请给我建议一个更好的方法。 As i am using free trial of azure right now so i could not generate any support ticket ticket right now.
由于我现在正在使用Azure的免费试用版,因此我现在无法生成任何支持票证。
This issue seems common if you are using the organizational network.Even if azure is getting your IP but still it does get changed when traffic flows through org network.Try to use global Ip address ie; 如果您使用的是组织网络,这个问题似乎很普遍。即使azure获得了IP,但当流量通过组织网络流动时,它的确仍然会改变。尝试使用全局IP地址,即; startIpaddress 0.0.0.0 EndIPAddress 255.255.255.255.
startIpaddress 0.0.0.0 EndIPAddress 255.255.255.255。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.