how to ping the server and open ports to connect sql ?

Divanshu Patel 0 Reputation points
2024-07-18T06:27:40.0533333+00:00

actually i have opened icmp ports, tcp ports and udp ports from website also and from pc also and also turn off the firewall but i cant connect sql from outside of the vps how to fix it

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,004 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,940 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. LiHongMSFT-4306 28,041 Reputation points
    2024-07-19T01:54:14.7766667+00:00

    Hi @Divanshu Patel

    but i cant connect sql from outside of the vps how to fix it

    Normally SQL Server have 1433 for default, please check if any error message indicates this.

    Regarding this connect issue, it is suggested to troubleshoot follow by this doc.

    Best regards,

    Cosmog


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.