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. Database & SysAdmin
  3. System Admin
  4. SQL Server open port

SQL Server open port

Scheduled Pinned Locked Moved System Admin
helpdatabasesql-serversysadminsecurity
6 Posts 3 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.
  • H Offline
    H Offline
    happyheartcs
    wrote on last edited by
    #1

    Hi all I just had a security problem & hope anyone of u can help me. I'm using a trial desktop program that connets to SQL server & while it's open my antivirus kept popping up a message saying that there is a port opened by SQL server. So is there any patch to solve this? Thanks a lot Happy

    M 1 Reply Last reply
    0
    • H happyheartcs

      Hi all I just had a security problem & hope anyone of u can help me. I'm using a trial desktop program that connets to SQL server & while it's open my antivirus kept popping up a message saying that there is a port opened by SQL server. So is there any patch to solve this? Thanks a lot Happy

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      Normally SQL Server opens ports when it's started, if configured to do so. I suppose it's possible that the desktop program is starting the SQL Server service and the ports are being opened at that point. You can configure the network settings of SQL Server using the Server Network Utility from the Microsoft SQL Server program group. If this isn't on your start menu, look for svrnetcn.exe typically in the C:\Program Files\Microsoft SQL Server\80\Tools\Binn folder. Disable all network protocols you're not using - if you don't need remote access to this instance of SQL Server, disable everything except Shared Memory. Shared Memory may not actually be shown in this list - if not, just disable everything. If you still get the problem, it may be that SQL Server has not been upgraded to SP3 or later. Earlier versions still opened UDP port 1434 (used to map instance names to TCP ports) even if the TCP/IP protocol was disabled. If the version installed is actually MSDE (shown as Desktop Engine or Desktop Edition) and it was installed using the merge modules, it may not be possible to apply the downloadable SP4. You should check with the program's author.

      Stability. What an interesting concept. -- Chris Maunder

      H 1 Reply Last reply
      0
      • M Mike Dimmick

        Normally SQL Server opens ports when it's started, if configured to do so. I suppose it's possible that the desktop program is starting the SQL Server service and the ports are being opened at that point. You can configure the network settings of SQL Server using the Server Network Utility from the Microsoft SQL Server program group. If this isn't on your start menu, look for svrnetcn.exe typically in the C:\Program Files\Microsoft SQL Server\80\Tools\Binn folder. Disable all network protocols you're not using - if you don't need remote access to this instance of SQL Server, disable everything except Shared Memory. Shared Memory may not actually be shown in this list - if not, just disable everything. If you still get the problem, it may be that SQL Server has not been upgraded to SP3 or later. Earlier versions still opened UDP port 1434 (used to map instance names to TCP ports) even if the TCP/IP protocol was disabled. If the version installed is actually MSDE (shown as Desktop Engine or Desktop Edition) and it was installed using the merge modules, it may not be possible to apply the downloadable SP4. You should check with the program's author.

        Stability. What an interesting concept. -- Chris Maunder

        H Offline
        H Offline
        happyheartcs
        wrote on last edited by
        #3

        Hi Mike Thanks a loooooot. But I had another question,how can the program author solve this?? Should he download SP4 and then re-compile the program? Thanks again :) Happy

        D 1 Reply Last reply
        0
        • H happyheartcs

          Hi Mike Thanks a loooooot. But I had another question,how can the program author solve this?? Should he download SP4 and then re-compile the program? Thanks again :) Happy

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          SP4 and recompiling won't make any difference. Does your app come with and install MSDE or SQL Express??

          Dave Kreskowiak Microsoft MVP - Visual Basic

          H 1 Reply Last reply
          0
          • D Dave Kreskowiak

            SP4 and recompiling won't make any difference. Does your app come with and install MSDE or SQL Express??

            Dave Kreskowiak Microsoft MVP - Visual Basic

            H Offline
            H Offline
            happyheartcs
            wrote on last edited by
            #5

            Hi Dave It installs MSDE.. So what is the solution??

            D 1 Reply Last reply
            0
            • H happyheartcs

              Hi Dave It installs MSDE.. So what is the solution??

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              MSDE installs with network protocols turned on by default. You can turn them off at installation time in either of two ways: If your installing MSDE as part of a Merge Module in your applications Setup: [MSDE Deployment Toolkit](http://www.microsoft.com/downloads/details.aspx?FamilyID=6e9a7403-c4ba-4d98-bb0b-
              2c9d6414071f&DisplayLang=en)[^] MSDE Deployment Toolkit in Action article[^] Or, if you're running the MSDE Setup yourself, you can turn the networking protocols off from the Setup command line. See "Customizing Desktop Engine Setup.exe[^]" for more information. But, in the simplest form, the MSDE Setup command line could look something like this:

              setup DISABLENETWORKPROTOCOLS=1

              Dave Kreskowiak Microsoft MVP - Visual Basic

              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