SQL Server 2008 R2 Express will not allow connection

  • dbalorenzini (6/13/2012)


    Finally got it working. The issue was the firewall. I followed the steps in the following Microsoft article:

    http://support.microsoft.com/kb/968872

    Thanks for everybodies input.

    That list in the KB article opens quite a few ports (pasted here for reference):

    @echo ========= SQL Server Ports ===================

    @echo Enabling SQLServer default instance port 1433

    netsh firewall set portopening TCP 1433 "SQLServer"

    @echo Enabling Dedicated Admin Connection port 1434

    netsh firewall set portopening TCP 1434 "SQL Admin Connection"

    @echo Enabling conventional SQL Server Service Broker port 4022

    netsh firewall set portopening TCP 4022 "SQL Service Broker"

    @echo Enabling Transact-SQL Debugger/RPC port 135

    netsh firewall set portopening TCP 135 "SQL Debugger/RPC"

    @echo ========= Analysis Services Ports ==============

    @echo Enabling SSAS Default Instance port 2383

    netsh firewall set portopening TCP 2383 "Analysis Services"

    @echo Enabling SQL Server Browser Service port 2382

    netsh firewall set portopening TCP 2382 "SQL Browser"

    @echo ========= Misc Applications ==============

    @echo Enabling HTTP port 80

    netsh firewall set portopening TCP 80 "HTTP"

    @echo Enabling SSL port 443

    netsh firewall set portopening TCP 443 "SSL"

    @echo Enabling port for SQL Server Browser Service's 'Browse' Button

    netsh firewall set portopening UDP 1434 "SQL Browser"

    @echo Allowing multicast broadcast response on UDP (Browser Service Enumerations OK)

    netsh firewall set multicastbroadcastresponse ENABLE

    Any idea which one in paricular it was for you?



    Twitter: @SQLife
    Email: sqlsalt(at)outlook(dot)com

  • The Browser port was the show stopper.

  • dbalorenzini (6/13/2012)


    The Browser port was the show stopper.

    🙂 I figured as much. Glad you got it all worked out. In the future, to see if the necessary ports are open you can use a really slick tool called PortQry.



    Twitter: @SQLife
    Email: sqlsalt(at)outlook(dot)com

Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic. Login to reply