{"id":15416,"date":"2020-12-21T17:43:01","date_gmt":"2020-12-21T16:43:01","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/"},"modified":"2020-12-21T17:43:01","modified_gmt":"2020-12-21T16:43:01","slug":"sql-server-tcp-having-both-dynamic-ports-and-static-port-configured","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/","title":{"rendered":"SQL Server TCP: Having both Dynamic Ports and Static Port configured"},"content":{"rendered":"<h4>Introduction<\/h4>\n<p>Have you ever seen an SQL Server instance configured to listen on both &#8220;TCP Dynamic Ports&#8221; and &#8220;TCP (static) Port&#8221;?<\/p>\n<p>This kind of configuration can be caused by the following scenario:<\/p>\n<ol>\n<li>A named instance is installed. By default, it is configured to use dynamic ports.<\/li>\n<li>Someone wants to configure the instance to listen to a fixed port and set the &#8220;TCP Port&#8221; value<\/li>\n<li>The &#8220;TCP Dynamic Ports&#8221; is set to value &#8220;0&#8221; thinking this would disable the dynamics ports<\/li>\n<\/ol>\n<p>The <a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/database-engine\/configure-windows\/configure-a-server-to-listen-on-a-specific-tcp-port?view=sql-server-ver15\">documentation<\/a> states that a value of &#8220;0&#8221; is actually enabling &#8220;TCP Dynamic Ports&#8221;.<\/p>\n<blockquote><p>If the\u00a0<strong>TCP Dynamic Ports<\/strong>\u00a0dialog box contains\u00a0<strong>0<\/strong>, indicating the Database Engine is listening on dynamic ports<\/p><\/blockquote>\n<p>After a service restart, SQL Server will listen to a port like 50119 for example.<br \/>\nYou end up with the following configuration.<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_TCPProperties.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-46241\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_TCPProperties.png\" alt=\"\" width=\"321\" height=\"69\" \/><\/a><\/p>\n<p>So what&#8217;s happening to SQL Server with this configuration?<\/p>\n<h4>What SQL Server is listening on?<\/h4>\n<p>Well, I could not find anything related to this particular case in the Microsoft documentation.<br \/>\nIf we look at the SQL Server Error Log we can see that the instance is listening on both ports: the dynamically chosen one and the static port.<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_errorlog.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-46238\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_errorlog.png\" alt=\"\" width=\"434\" height=\"87\" \/><\/a><\/p>\n<p>We can confirm this by trying a connection using SSMS:<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_SSMS.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-46239\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_SSMS.png\" alt=\"\" width=\"317\" height=\"122\" \/><\/a><\/p>\n<h4>What TCP port is used by clients connections?<\/h4>\n<p>But, are both ports actually used by client connections to the server?<br \/>\nFrom SQL we can see the established connections and their TCP port using this query:<\/p>\n<div>\n<div id=\"highlighter_616230\" class=\"syntaxhighlighter  sql\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<div class=\"line number2 index1 alt1\">2<\/div>\n<div class=\"line number3 index2 alt2\">3<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"sql keyword\">select<\/code> <code class=\"sql keyword\">distinct<\/code> <code class=\"sql plain\">local_tcp_port<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><code class=\"sql keyword\">from<\/code> <code class=\"sql plain\">sys.dm_exec_connections<\/code><\/div>\n<div class=\"line number3 index2 alt2\"><code class=\"sql keyword\">where<\/code> <code class=\"sql plain\">net_transport = <\/code><code class=\"sql string\">'TCP'<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>This could also be seen with netstat:<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_netstat.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-46243\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_netstat.png\" alt=\"\" width=\"500\" height=\"179\" \/><\/a><\/p>\n<p>Looking at this information I see no connection at all using the dynamically assigned port.<br \/>\nOnly the static port is used.<\/p>\n<h4>SQL Browser<\/h4>\n<p>My guess is that the SQL Server Browser is giving priority to the static Port and always return this port to clients. I didn&#8217;t find any information online about this behavior but it makes sense.<\/p>\n<p>When a client wants to connect to an instance using &#8220;server\\instancename&#8221; an exchange is done with the server using the <a href=\"https:\/\/docs.microsoft.com\/en-us\/openspecs\/windows_protocols\/ms-wpo\/c67adffd-2740-435d-bda7-dc66fb13f1b7\">SQL Server Resolution Protocol<\/a> using UDP. This is why you should enable UDP port 1434 in your Firewall if you need the SQL Browser.<br \/>\nFor details about this protocol, you can read the specifications <a href=\"https:\/\/docs.microsoft.com\/en-us\/openspecs\/windows_protocols\/mc-sqlr\/1ea6e25f-bff9-4364-ba21-5dc449a601b7\">here<\/a>.<\/p>\n<p>Doing some tests with Wireshark and a UDP filter we can see the client asking about &#8220;inst1&#8221;, my instance name.<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_wireshark_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-46235\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_wireshark_1.png\" alt=\"\" width=\"810\" height=\"264\" \/><\/a><\/p>\n<p>The server response contains some information about the instance with the most important one, the TCP Port, here the static port: 15001.<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_wireshark_2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-46236\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_wireshark_2.png\" alt=\"\" width=\"799\" height=\"339\" \/><\/a><\/p>\n<h4>Conclusion<\/h4>\n<p>I think this configuration should be avoided because it doesn&#8217;t seem to add any benefits and could bring some confusion.<br \/>\nIf you use a static TCP port for your instance, leave the &#8220;Dynamic TCP Port&#8221; blank.<\/p>\n<p>Written by <a href=\"https:\/\/www.linkedin.com\/in\/steven-naudet-aa540158\/\">Steven Naudet<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Have you ever seen an SQL Server instance configured to listen on both &#8220;TCP Dynamic Ports&#8221; and &#8220;TCP (static) Port&#8221;? This kind of configuration can be caused by the following scenario: A named instance is installed. By default, it is configured to use dynamic ports. Someone wants to configure the instance to listen to&hellip;&nbsp;<\/p>\n","protected":false},"author":26,"featured_media":15421,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[99],"tags":[1469],"class_list":["post-15416","post","type-post","status-publish","format-standard","has-post-thumbnail","category-sql-server","tag-sql-browser"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.9 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>SQL Server TCP: Having both Dynamic Ports and Static Port configured - dbi services Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL Server TCP: Having both Dynamic Ports and Static Port configured\" \/>\n<meta property=\"og:description\" content=\"Introduction Have you ever seen an SQL Server instance configured to listen on both &#8220;TCP Dynamic Ports&#8221; and &#8220;TCP (static) Port&#8221;? This kind of configuration can be caused by the following scenario: A named instance is installed. By default, it is configured to use dynamic ports. Someone wants to configure the instance to listen to&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-21T16:43:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_wireshark_1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"810\" \/>\n\t<meta property=\"og:image:height\" content=\"264\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Microsoft Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Microsoft Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\\\/\"},\"author\":{\"name\":\"Microsoft Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/857c83b2f1d7d3e7c113ed40edf63294\"},\"headline\":\"SQL Server TCP: Having both Dynamic Ports and Static Port configured\",\"datePublished\":\"2020-12-21T16:43:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\\\/\"},\"wordCount\":449,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/lab_wireshark_1.png\",\"keywords\":[\"SQL Browser\"],\"articleSection\":[\"SQL Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\\\/\",\"name\":\"SQL Server TCP: Having both Dynamic Ports and Static Port configured - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/lab_wireshark_1.png\",\"datePublished\":\"2020-12-21T16:43:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/lab_wireshark_1.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/lab_wireshark_1.png\",\"width\":810,\"height\":264},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL Server TCP: Having both Dynamic Ports and Static Port configured\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/857c83b2f1d7d3e7c113ed40edf63294\",\"name\":\"Microsoft Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/microsoft-square.png\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/microsoft-square.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/microsoft-square.png\",\"caption\":\"Microsoft Team\"},\"description\":\"Posts published under the Microsoft Team account are collective contributions by the dbi services Microsoft consultants. The practice covers SQL Server across its lifecycle, from installation, migration, and security to high availability with Always On and performance tuning, together with Azure data services and the Microsoft Business Intelligence stack, including Power BI. The team holds Microsoft certifications up to Expert level and operates customer platforms under service level agreements.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/microsoft-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"SQL Server TCP: Having both Dynamic Ports and Static Port configured - dbi services Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/","og_locale":"en_US","og_type":"article","og_title":"SQL Server TCP: Having both Dynamic Ports and Static Port configured","og_description":"Introduction Have you ever seen an SQL Server instance configured to listen on both &#8220;TCP Dynamic Ports&#8221; and &#8220;TCP (static) Port&#8221;? This kind of configuration can be caused by the following scenario: A named instance is installed. By default, it is configured to use dynamic ports. Someone wants to configure the instance to listen to&hellip;&nbsp;","og_url":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2020-12-21T16:43:01+00:00","og_image":[{"width":810,"height":264,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_wireshark_1.png","type":"image\/png"}],"author":"Microsoft Team","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Microsoft Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/"},"author":{"name":"Microsoft Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/857c83b2f1d7d3e7c113ed40edf63294"},"headline":"SQL Server TCP: Having both Dynamic Ports and Static Port configured","datePublished":"2020-12-21T16:43:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/"},"wordCount":449,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_wireshark_1.png","keywords":["SQL Browser"],"articleSection":["SQL Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/","url":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/","name":"SQL Server TCP: Having both Dynamic Ports and Static Port configured - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_wireshark_1.png","datePublished":"2020-12-21T16:43:01+00:00","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_wireshark_1.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/04\/lab_wireshark_1.png","width":810,"height":264},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tcp-having-both-dynamic-ports-and-static-port-configured\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"SQL Server TCP: Having both Dynamic Ports and Static Port configured"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/857c83b2f1d7d3e7c113ed40edf63294","name":"Microsoft Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/microsoft-square.png","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/microsoft-square.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/12\/microsoft-square.png","caption":"Microsoft Team"},"description":"Posts published under the Microsoft Team account are collective contributions by the dbi services Microsoft consultants. The practice covers SQL Server across its lifecycle, from installation, migration, and security to high availability with Always On and performance tuning, together with Azure data services and the Microsoft Business Intelligence stack, including Power BI. The team holds Microsoft certifications up to Expert level and operates customer platforms under service level agreements.","url":"https:\/\/www.dbi-services.com\/blog\/author\/microsoft-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/15416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=15416"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/15416\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/15421"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=15416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=15416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=15416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}