Cannot connect to fresh installed SQL Server database in azure

lf3rwulv  于 2023-08-02  发布在  SQL Server
关注(0)|答案(1)|浏览(143)

I got an error when try to connect SQL Server database that I was installed at azure cloud. Below is the error:

A network-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 that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060)

I already add firewall setting for all IP, 0.0.0.0 to 255.255.255.255 .I expected that the server can be accessed. Still, I am getting the same error

cgvd09ve

cgvd09ve1#

When I tried to connect to My SQL server I got the same error:

In my case I am having issue with my network, I am using my corporate network. I switched to another network, and I tried to connect again then the connection was successful.

Along with that check below option while connecting to the SQL server:

  • Make sure outbound traffic over port 1433 will allowed by your network's firewall.
  • Once check you have given correct details of SQL server.

For more information you can refer this MS DOC .

相关问题