SQL Sever Firewall Ports

The Windows Firewall is blocking the SQL Server connection. This often happens because firewalls are typically configured to block traffic unless specific inbound and outbound rules are created (such as for SQL Server ports). This blog post provides guidance on how to configure the Windows Firewall to allow access to SQL Server.

SQL Sever Firewall Ports

Getting Started

In computing, a Winodows firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules. A firewall typically establishes a barrier between a trusted network and an untrusted network, such as the Internet.

The firewall inbound and outbound rules allow or block traffic attempts to access the computer that matches certain criteria in the rule. The SQL server is available default on the port 1433, you can change it while installing SQL instance or later.

The firewall blocks this SQL port number when we trying to access SQL instance from the remote computer until we add rules in the Firewall of the local computer for the same port.

By default sql server firewall rules is blocked, to allow traffic to access the SQL Server, you need to create an inbound rule and the Outbound rules allow or block traffic originating from specifying computer creating rules.

The following steps are guiding to create inbound outbound firewall rules to allow sql server through firewall.

  1. Open Windows Firewall using Control panel and click the Advanced settings or just type wf.msc in Search program and files from the Start menu.
    configure firewall
  2. In the Windows Firewall with Advanced Security, click the Inbound Rules from the left pane, right click Inbound Rules and select the New Rule or from the Actions pane click the New Rule
    firewall rule set
  3. In the New Inbound Rule wizard select the Port option and click Next.
    sql firewall ports
  4. Select the TCP option, in the Specific local ports text box enter the 1433 port(if you mentions other number for TCP port enter in the textbox), and click Next.
    sql firewall
  5. In the Action window,you will find the Allow the connection options by default is selected. Do not change it and click on next button.
    configure-windows-firewall
  6. Let keep the options of profile window as it is and click on next button.
    configuring firewall rules
  7. In the last window specify the name of the created rule and click the Finish button.
    firewall outbound
  8. Now we have successfully created new Inbound Rule for the SQL port, Click on the Outbound Rules and follow the steps mentioned for Inbound Rule.

Thanks

Kailash Chandra Behera

An IT professional with over 13 years of experience in the full software development life cycle for Windows, services, and web-based applications using Microsoft .NET technologies. Demonstrated expertise in delivering all phases of project development—from initiation to closure—while aligning with business objectives to drive process improvements, competitive advantage, and measurable bottom-line gains. Proven ability to work independently and manage multiple projects successfully. Committed to the efficient and effective development of projects in fast-paced, deadline-driven environments. Skills: Proficient in designing and developing applications using various Microsoft technologies. Total IT Experience: 13+ years

1 Comments

Previous Post Next Post

نموذج الاتصال