Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Firewalls and Sql Server

Firewalls and Sql Server

Scheduled Pinned Locked Moved The Lounge
databasequestionsql-servercomsysadmin
9 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Christopher Duncan
    wrote on last edited by
    #1

    As you may recall from yesterday, my dlink firewall died yesterday and was replaced. The default firewall settings lock everything down nicely. However, running Sql Server Management Studio 2005, I can now no longer connect to the db on my hosting company's server. Conversations with them and Google indicate that TCP port 1433 needs to be opened in both directions, which I've done, but still no connection to the remote db. Anyone fought this battle and won? It's been 6 years since I set this up on the old firewall, and I've slept since then.

    Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!

    E D J E 4 Replies Last reply
    0
    • C Christopher Duncan

      As you may recall from yesterday, my dlink firewall died yesterday and was replaced. The default firewall settings lock everything down nicely. However, running Sql Server Management Studio 2005, I can now no longer connect to the db on my hosting company's server. Conversations with them and Google indicate that TCP port 1433 needs to be opened in both directions, which I've done, but still no connection to the remote db. Anyone fought this battle and won? It's been 6 years since I set this up on the old firewall, and I've slept since then.

      Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!

      E Offline
      E Offline
      Electron Shepherd
      wrote on last edited by
      #2

      Christopher Duncan wrote:

      TCP port 1433 needs to be opened in both directions, which I've done

      No, it only needs to be open outbound (from you to the SQL Server). Have you made sure that the SQL Server is listening on port 1433? What connection protocol are you using?

      Server and Network Monitoring

      C 1 Reply Last reply
      0
      • C Christopher Duncan

        As you may recall from yesterday, my dlink firewall died yesterday and was replaced. The default firewall settings lock everything down nicely. However, running Sql Server Management Studio 2005, I can now no longer connect to the db on my hosting company's server. Conversations with them and Google indicate that TCP port 1433 needs to be opened in both directions, which I've done, but still no connection to the remote db. Anyone fought this battle and won? It's been 6 years since I set this up on the old firewall, and I've slept since then.

        Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!

        D Offline
        D Offline
        Douglas Troy
        wrote on last edited by
        #3

        Open SQL Server Config Manager, selection SQL Native Client Config->Client Protocols and make sure TCP/IP is enabled.


        :..::. Douglas H. Troy ::..
        Bad Astronomy |VCF|wxWidgets|WTL

        C 1 Reply Last reply
        0
        • E Electron Shepherd

          Christopher Duncan wrote:

          TCP port 1433 needs to be opened in both directions, which I've done

          No, it only needs to be open outbound (from you to the SQL Server). Have you made sure that the SQL Server is listening on port 1433? What connection protocol are you using?

          Server and Network Monitoring

          C Offline
          C Offline
          Christopher Duncan
          wrote on last edited by
          #4

          Yeah, I talked to my support guys and they're listening on 1433. This was all working before I had to replace the firewall.

          Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!

          1 Reply Last reply
          0
          • D Douglas Troy

            Open SQL Server Config Manager, selection SQL Native Client Config->Client Protocols and make sure TCP/IP is enabled.


            :..::. Douglas H. Troy ::..
            Bad Astronomy |VCF|wxWidgets|WTL

            C Offline
            C Offline
            Christopher Duncan
            wrote on last edited by
            #5

            This was all working before I had to replace the firewall, so none of that has changed.

            Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!

            D E 2 Replies Last reply
            0
            • C Christopher Duncan

              This was all working before I had to replace the firewall, so none of that has changed.

              Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!

              D Offline
              D Offline
              Douglas Troy
              wrote on last edited by
              #6

              Well then, obviously that's not it. :rolleyes: Check your firewall logs, see what's being blocked?


              :..::. Douglas H. Troy ::..
              Bad Astronomy |VCF|wxWidgets|WTL

              1 Reply Last reply
              0
              • C Christopher Duncan

                This was all working before I had to replace the firewall, so none of that has changed.

                Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!

                E Offline
                E Offline
                Electron Shepherd
                wrote on last edited by
                #7

                But are you connecting using TCP/IP. You can also connect to an SQL Server using named pipes. If the old firewall wasn't blocking NetBIOS traffic, and the new one is, that would explain your symptoms. The first thing to check is that you are connecting using the TCP protocol (and the second is to see what the firewall logs say about blocked traffic).

                Server and Network Monitoring

                1 Reply Last reply
                0
                • C Christopher Duncan

                  As you may recall from yesterday, my dlink firewall died yesterday and was replaced. The default firewall settings lock everything down nicely. However, running Sql Server Management Studio 2005, I can now no longer connect to the db on my hosting company's server. Conversations with them and Google indicate that TCP port 1433 needs to be opened in both directions, which I've done, but still no connection to the remote db. Anyone fought this battle and won? It's been 6 years since I set this up on the old firewall, and I've slept since then.

                  Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!

                  J Offline
                  J Offline
                  Jerry Hammond
                  wrote on last edited by
                  #8

                  Ummm...I missed yesterday's post. have you done a trace route to be sure you are getting to the SQL Server?

                  "My interest is in the future because I'm going to spend the rest of my life there." - Charles F. Kettering

                  1 Reply Last reply
                  0
                  • C Christopher Duncan

                    As you may recall from yesterday, my dlink firewall died yesterday and was replaced. The default firewall settings lock everything down nicely. However, running Sql Server Management Studio 2005, I can now no longer connect to the db on my hosting company's server. Conversations with them and Google indicate that TCP port 1433 needs to be opened in both directions, which I've done, but still no connection to the remote db. Anyone fought this battle and won? It's been 6 years since I set this up on the old firewall, and I've slept since then.

                    Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!

                    E Offline
                    E Offline
                    Ed Leighton Dick
                    wrote on last edited by
                    #9

                    Definitely check your firewall logs. On SQL2005, port 1433 is used for the SQL Browser process but may not apply to the instance itself. Port 1434 is another common SQL Server port for the default instance; named instances typically use a randomly-assigned port number. Ed

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups