且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法通过SqlConnection连接到Azure数据库

更新时间:2022-03-17 09:46:45

根据您的帐户配置,您可能需要向azure数据库配置添加允许的端口/ IP范围。
转到数据SQL数据库属性
- 配置
- 允许的IP地址
- 添加您的IP范围

Depending on your account configuration, you may need to add an allowed port/IP range to azure DB configuration. Go to Data "SQL Databases" properties - Configure - allowed ip addresses - Add your IP range

您就可以连接。