How can I find out the port number being used by my instance of MS SQL Server Express? (2024)

Thisarticle is a child of frustration. I made the decision to completely remove CRM from one of my machines and then got stuck because I had no idea what portmy targetSQL Server was listening on.

Note:By default, MS SQL Server Express uses port 1433. But in my case, this wasn't trueand so I had to find a way of establishing the port being used.

So, just for reference.

Wecan find out the port number being used by an instance of MS SQL Server Express in a couple of ways.

  1. We can use the Configuration Manager
  2. We can use a T-SQL query.

Using the Configuration Manager

Note: You can access the Configuration Manager through the Windows Start menu by searching for "SQL Server Configuration Manager." BUT if the SQL Configuration Managerdoes notshow in your Windowsmenus then navigate to c:\windows\system32 and look for a file with the name "SQLServerManagerxx.msc", wherexx is the version of SQL Server you have installed. E.g for SQL Server 2019, the name is SQLServerManager15.msc. Double-click it and it will open. You can also make a shortcut on the desktop.

How can I find out the port number being used by my instance of MS SQL Server Express? (1)

  1. In SQL Server Configuration Manager, expand the "SQL Server Network Configuration" node and select "Protocols for [instance name]".
  2. In the right-hand pane, you should see a list of protocols. Look for the TCP/IP protocol and make sure it is enabled.
  3. Right-click on the TCP/IP protocol and select "Properties."
  4. In the TCP/IP Properties dialog box, select the "IP Addresses" tab.
  5. Scroll down to the "IPAll" section and look for the "TCP Port" field. This is the port number being used by your instance of MS SQL Server Express.

Using T-SQL to find out the port used.

If you prefer to use T-SQL you canquery the server properties.

SELECT DISTINCT local_tcp_port FROM sys.dm_exec_connections WHERE local_tcp_port IS NOT NULL

This will return the port number being used for TCP/IP connections by the SQL Server instance.

How can I find out the port number being used by my instance of MS SQL Server Express? (2)

How can I find out the port number being used by my instance of MS SQL Server Express? (2024)
Top Articles
Most Common SSL Certificate Errors and How to Fix Them
Raid on High Charity
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
Things To Do In Atlanta Tomorrow Night
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Dmv In Anoka
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Weekly Math Review Q4 3
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Selly Medaline
Latest Posts
Article information

Author: Tuan Roob DDS

Last Updated:

Views: 5502

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Tuan Roob DDS

Birthday: 1999-11-20

Address: Suite 592 642 Pfannerstill Island, South Keila, LA 74970-3076

Phone: +9617721773649

Job: Marketing Producer

Hobby: Skydiving, Flag Football, Knitting, Running, Lego building, Hunting, Juggling

Introduction: My name is Tuan Roob DDS, I am a friendly, good, energetic, faithful, fantastic, gentle, enchanting person who loves writing and wants to share my knowledge and understanding with you.