Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7404333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:14:28+00:00 2026-05-29T05:14:28+00:00

In my applications I generally use SQL Instance enumerator to get all the instances

  • 0

In my applications I generally use SQL Instance enumerator to get all the instances of SQL Server. But I’ve found that running a firewall and/or internet security doesn’t allow the application to access the instances. For this, I’ve to advise the person to turn off the firewall so that it can access the instances which isn’t a good idea. I googled but I found some batch file scripts that work for particular Windows version (Windows Server 2008, XP etc).

But I want to know some generic script or method which opens the ports for SQL Server on any machine. How do I resolve the issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T05:14:28+00:00Added an answer on May 29, 2026 at 5:14 am

    You’ll probably find this link, and this one useful (C# code).

    Maybe also some powershell scripts would do the trick: here and here

    But it’s about Windows Firewall only. Keep in mind there are different software firewalls on the market, and most of the time there also is an hardware firewall (sometimes more than one).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have 3 home PCs that have 2008 SQL Server Express instances installed on
In general we use biometrics in computer applications say for authentication. Lets get 2
I have a MVC 2.0 site that uses SQL Server as it's session state
Using C#, visual studio 2008, SQL Server 2000 (and 2008) I use a DataLayer
I'm writing an application that creates a SQL Server database for another program. For
We currently have a 10 year old nasty, spaghetti-code-style SQL Server database that we
I'd like ask a question about building applications in .NET that use data from
I would like to use javascript to develop general-purpose GUI applications. Initially these are
I normally work on single threaded applications and have generally never really bothered with
When writing application code, it's generally accepted that premature micro -optimization is evil, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.