简体   繁体   English

无法从sql management studio中的代理服务器后面连接到Azure上的sql数据库?

[英]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. 当在附件中找到图像时,出现以下错误消息。

SQL错误

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.

相关问题 无法连接到 SQL Server Management Studio 中的 Azure - Cannot connect to Azure in SQL Server Management Studio 无法连接到SQL Server Management Studio 2017中的本地数据库 - Can't connect to local database in SQL Server Management Studio 2017 我可以在没有管理工作室的情况下连接远程sql server数据库吗 - Can I connect remote sql server database without management studio SQL Server Management Studio从Windows 10连接到Azure SQL数据库,但不从Windows Server 2012上的VM连接 - SQL Server Management Studio connects to Azure SQL Database from Windows 10 but does not connect from VM on Windows Server 2012 无法在SQL Server Management Studio中编辑Azure数据库的行 - Can't edit rows of Azure database in SQL Server Management Studio 无法从本地管理工作室连接到远程SQL Server数据库 - Unable to connect to remote SQL Server database from local management studio 在Visual Studio或SQL Server Management Studio中连接到Azure SQL数据库的哪些必要步骤? - Which are necessary steps to connect to an Azure SQL database in Visual Studio or SQL Server Management Studio? 无法连接到 SQL Server Management Studio - Can not connect to SQL Server Management Studio SQL Server Management Studio无法连接 - SQL Server Management Studio can not connect Docker 撰写 - 无法连接到 SQL 服务器管理工作室中的 SQL 服务器数据库 - Docker compose - can't connect to SQL Server database in SQL Server Management Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM