错误报告:
连接到服务器 × 无法连接到192.168..。
其他信息: Anetwork-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible.Verify that the instance name is correct and thatsQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 -Could not open a connection to sQL Server)(Microsoft SQL Server,错误:53) 找不到网络路径。
原因:CentOS的防火墙没关闭
关闭防火墙:
systemctl disable firewalld
关闭 selinux:
sed -i 's/enforcing/disabled/' /etc/selinux/config
重启:
reboot