简体   繁体   English

初始 Azure VM 设置不允许任何端口连接(NSG 端口允许 VM 防火墙关闭)

[英]Initial Azure VM setup won't allow any port connections (NSG port allowed VM firewall off)

I've created a new Azure VM and tried opening 1433 for a remote database connection (I understand long term this shouldn't be a public port).我创建了一个新的 Azure VM 并尝试为远程数据库连接打开 1433(我知道从长远来看这不应该是公共端口)。

I've created a rule in my NSG to open port 1433, and entirely disabled windows firewall, and I still cannot get through port 1433.我在我的 NSG 中创建了一个规则来打开端口 1433,并完全禁用 Windows 防火墙,但我仍然无法通过端口 1433。

If I go in and disassociate the NSG, then I can connect just fine, so it's not the server that's blocking, it's happening at the NSG level如果我进入并取消关联 NSG,那么我可以正常连接,所以不是服务器阻塞,而是发生在 NSG 级别

This is a fresh install of Windows 2012 R2 Datacenter.这是 Windows 2012 R2 Datacenter 的全新安装。

Here's my NSG这是我的 NSG

Inbound security rules image入站安全规则图片

Here's my VM Networking details这是我的 VM 网络详细信息

Networking VM Rules网络虚拟机规则

Check if SQL-Server service accept remote connections and if it's listening on 1433 port.检查 SQL-Server 服务是否接受远程连接以及它是否正在侦听 1433 端口。 Specify a source IP address for the rule (is absolutely not recommended to open a port to all).为规则指定一个源IP地址(绝对不建议向所有人开放一个端口)。 Do a port scan to the specific ip.对特定ip进行端口扫描。

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

相关问题 SQL Azure VM(资源管理器)无法发送DBMail(端口587被阻止) - SQL Azure VM (Resource Manager) can't send DBMail (Port 587 blocked) 无法通过telnet到Azure ARM VM上公共IP上的SQL镜像端口 - Unable to telnet to SQL mirroring port on public IP on Azure ARM VM Azure SQL数据库防火墙是否自动允许VM在同一资源组中? - Does Azure SQL Database firewall automatically allow VM's in the same Resource Group? 在另一台Windows VM上使用来自一个SQL Azure VM的SQL安装文件是否有任何挑战? - Is there any challenge in using SQL Setup file from one SQL Azure VM on another Windows VM? 无法连接到Server 2008 R2 VM上的SQL Server;无法连接到SQL Server。 端口1433打开 - Can't connect to SQL Server on Server 2008 R2 VM; port 1433 is open Azure VM 不会连接到 Azure SQL DB 与 .net 规则和服务端点 - Azure VM won't connect to Azure SQL DB with vnet rule and service endpoint 防火墙端口1433无法打开 - Firewall Port 1433 not opening 将数据库部署到Azure VM-但不在传统VM上 - Deploy Database to Azure VM - but not on a Classic VM Azure 虚拟机数据库 - Azure VM Database 哪个防火墙规则允许 1433 TCP 端口 - Which Firewall Rule Allows 1433 TCP Port
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM