简体   繁体   English

Azure 入站安全规则不适用于修复源端口

[英]Azure Inbound security rules not working for fix Source port

I am trying to connect SQL Server from local machine.我正在尝试从本地计算机连接 SQL Server。

Following inbound security rule is not working with the fix source port.以下入站安全规则不适用于修复源端口。 But it works with * for source port.但它与 * 一起用于源端口。

What is wrong with this setup?这个设置有什么问题?

规则截图

In SQL, 1433 is the port on the server, not necessarily the port on the client.在 SQL 中,1433 是服务器上的端口,不一定是客户端上的端口。 Depending on the client being used, you may have any random high order port in use to make the SQL connection.根据所使用的客户端,您可能会使用任何随机的高阶端口来建立 SQL 连接。 Only use 1433 as the source if you know that the app/client you are using uses 1433 only.如果您知道您正在使用的应用程序/客户端仅使用 1433,则仅使用 1433 作为源。

Azure SQL Server firewall prevents all access to your database server until you specify which machine or computer have permission to access your database externally, by Allowing IP Address to your Azure SQL SERVER. Azure SQL Server 防火墙阻止对数据库服务器的所有访问,直到你通过允许Azure SQL SERVER 的IP 地址指定哪台机器或计算机有权从外部访问你的数据库。 The firewall grants access based on the originating IP address of your each request.防火墙根据您每个请求的原始 IP 地址授予访问权限。

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

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