我有一个关于HostGator的网站和一个运行SQL Server 2008R2的专用服务器.我使用的连接字符串是XXXX,1433,它指向我的专用服务器的IP地址.我在我的服务器上进行了防火墙设置,以便我可以使用SSMS并从家用PC登录到SQL Server.
完成后,我的印象是从hostGator托管站点连接到SQL可以正常工作.我收到以下错误:
建立与SQL Server的连接时发生与网络相关或特定于实例的错误.服务器未找到或无法访问.验证实例名称是否正确,以及SQL Server是否配置为允许远程连接.(提供程序:TCP提供程序,错误:0 - 尝试以其访问权限禁止的方式访问套接字.)
我查了一下这个错误并找到了很多解释,但没有解决我的情况.我的服务器运行Windows 2008 w/IIS 7.5.HostGator技术支持确保我们不会遇到任何问题.]]
我的防火墙允许TCP端口1433,以及SQL Server Browser服务的UDP端口1434.
由于我有一个专用的服务器,我没有人向我的托管公司提出这个问题.
我试图运行 docker 应用程序...
\n\xce\xbb docker run -p 80:80 -p 8080:8080 --name billingapp sotobotero/udemy-devops:0.0.1\ndocker: Error response from daemon: Ports are not available: listen tcp 0.0.0.0:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.\nRun Code Online (Sandbox Code Playgroud)\n我试图应用这个答案...\n /sf/answers/4569185841/
\n\xce\xbb netsh int ipv4 add excludedportrange protocol=tcp startport=80 numberofports=1\nThe process cannot access the file because it is being used by another process.\nRun Code Online (Sandbox Code Playgroud)\n我正在尝试使用/sf/answers/4633900911/
\nD:\\Programs\\cmder\\config\\profile.d\n\xce\xbb docker container rm billingapp\nbillingapp\n\nD:\\Programs\\cmder\\config\\profile.d\n\xce\xbb net stop winnat\nThe …Run Code Online (Sandbox Code Playgroud)