Search code examples
sql-serversql-server-2008database-connectionfirewall

Firewall Port 1433 not opening


I am using MS Server 2008 with MSSQL 2008 R2 as database server.

Each time for some work I have to login to server via Remote connection. I tried to configure the SQL Server remote connection on, followed the following steps..

  1. Created Inbound and outbound rules for TCP port 1433.

  2. In SQL Server configuration manager ,all is set for IP address and Pprt no properties.

  3. Set the SQL Server instance for remote connections.

But still it's not working.

Also when I checked port 1433 for TCP on local computer it is shown closed.


Solution

    1. Probably port 1433 is disabled, so enable it using MS WIndows firewall.

    or just use

    netsh firewall set portopening protocol = TCP port = 1433 name = SQLPort mode = ENABLE scope = SUBNET profile = CURRENT
    
    1. Probably MS SQL Server Browser Service is not running. So go to Services and start it.

    or just execute under Run menu

    %windir%\system32\services.msc

    1. Probably TCP/IP channel is disabled under SQL Server 2008/2014 Configuration Manager. SO go there and enable all TCP/IP options.

    enter image description here

    1. Just in case at the same place (SQL Server 2008/2014 Configuration Manager) make sure you have 1433 port.

    enter image description here

    1. Make sure that SQL server is configured to allow remote connections. Use MS SQL Management Studio and right click on the top node which server itself.

    enter image description here