{"id":2073,"date":"2021-09-21T10:15:49","date_gmt":"2021-09-21T10:15:49","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=2073"},"modified":"2021-09-21T10:23:14","modified_gmt":"2021-09-21T10:23:14","slug":"how-to-set-the-custom-port-for-mssql-remote-access","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/how-to-set-the-custom-port-for-mssql-remote-access\/","title":{"rendered":"How to Set the Custom Port for MSSQL Remote Access?"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>Follow the steps as given below to assign a TCP\/IP port number to the SQL Server Database Engine :<\/p>\n<p><strong>STEP 1<\/strong>: Open the SQL Server Management Studio and login to your Database locally using login details.<\/p>\n<p><strong>STEP 2<\/strong>: In the left panel, right-click on the server name and choose Properties.<\/p>\n<p><strong>STEP 3<\/strong>: On the left side Select the Connections page and ensure that \u201cAllow remote connections to this server\u201d option is checked. Then exit SQL Server Management Studio.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2075\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-1-300x270.png\" alt=\"sql-1\" width=\"600\" height=\"539\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-1-300x270.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-1.png 600w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><strong>STEP 4<\/strong>: Then Open the SQL Server Configuration Manager and expand the node SQL Server Network Configuration. Then choose Protocols for SQLEXPRESS (or whatever the name of your SQL Server instance is). Ensure that TCP\/IP protocol is enabled.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2076\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-2-257x300.png\" alt=\"sql-2\" width=\"467\" height=\"546\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-2-257x300.png 257w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-2.png 467w\" sizes=\"auto, (max-width: 467px) 100vw, 467px\" \/><\/p>\n<p><strong>STEP 5<\/strong>: Right click on TCP\/IP and select Properties. Within the TCP\/IP Properties dialog box, click on the IP Addresses tab and scroll all the way down to IPAII section. check that TCP Dynamic Ports is blank which TCP Port is ready to 1433 (or whatever you want to set TCP Port).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2077\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-3-266x300.png\" alt=\"sql-3\" width=\"426\" height=\"480\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-3-266x300.png 266w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-3.png 426w\" sizes=\"auto, (max-width: 426px) 100vw, 426px\" \/><\/p>\n<p><strong>STEP 6<\/strong>: 1st Click on Apply button and then the OK button to save lots of your changes. then restart your SQL Server instance.<\/p>\n<p>Now you&#8217;re ready to connect with your SQL Server instance remotely the help of SQL Server Management Studio.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2078\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-4-300x227.png\" alt=\"sql-4\" width=\"426\" height=\"322\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-4-300x227.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-4.png 426w\" sizes=\"auto, (max-width: 426px) 100vw, 426px\" \/><\/p>\n<p>If there&#8217;s problem act in remote connection, you most likely to put together your firewall settings. Check that the TCP port 1433 isn&#8217;t blocked by your firewall.<\/p>\n<p>Take a look at the subsequent steps to create a new rule in firewall setting for remote affiliation.<\/p>\n<p><strong>STEP 1<\/strong>: Within the Windows Firewall in Control Panel, click on the Advanced Settings option on the left OR Start &gt;&gt; Run &gt;&gt; Type wf.msc and press Enter.<\/p>\n<p><strong>STEP 2:<\/strong> Within the Windows Firewall with Advanced Security window that opens, click on the Inbound Rules within the left panel. Click on the New Rule on the proper panel of the window.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2079\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-5-300x79.png\" alt=\"sql-5\" width=\"1024\" height=\"269\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-5-300x79.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-5-768x202.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-5.png 1024w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><strong>STEP 3:<\/strong> Choose Port on the list of choices and click on Next.<\/p>\n<p><strong>STEP 4<\/strong>: Choose TCP (or UDP if that&#8217;s what you require) and Specific local ports, and so enter your ports within the text enclose front of Specific local ports (i.e. 1234). Click Next.<\/p>\n<p><strong>STEP 5:<\/strong> Choose Allow the connection. Click on Next.<\/p>\n<p><strong>STEP 6:<\/strong> Choose the choices that you would like from Domain, Private, Public. Click on Next.<\/p>\n<p><strong>Domain<\/strong> \u2013 When the computer is linked to a network domain then only this rule will be applicable.<\/p>\n<p><strong>Private<\/strong> \u2013 When the computer is linked to trusted private networks then only this rule will be applicable.<\/p>\n<p><strong>Public<\/strong> \u2013 When the computer is linked to untrusted public networks then only this rule will be applicable.<\/p>\n<p><strong>STEP 7<\/strong>: After all, Enter the Name and Description in the text boxes individually. Then click Finish.<\/p>\n<p>After following the steps as explained above your port should be allowed through the Windows Firewall.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Follow the steps as given below to assign a TCP\/IP port number to the SQL Server Database Engine : STEP 1: Open the SQL Server Management Studio and login to your Database locally using login details. STEP 2: In the left panel, right-click on the server name and choose Properties. STEP 3: On the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-2073","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set the Custom Port for MSSQL Remote Access? - OWS KB<\/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:\/\/ownwebservers.com\/kb\/how-to-set-the-custom-port-for-mssql-remote-access\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set the Custom Port for MSSQL Remote Access? - OWS KB\" \/>\n<meta property=\"og:description\" content=\"&nbsp; Follow the steps as given below to assign a TCP\/IP port number to the SQL Server Database Engine : STEP 1: Open the SQL Server Management Studio and login to your Database locally using login details. STEP 2: In the left panel, right-click on the server name and choose Properties. STEP 3: On the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/how-to-set-the-custom-port-for-mssql-remote-access\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-21T10:15:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-21T10:23:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-1-300x270.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-set-the-custom-port-for-mssql-remote-access\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/sql-1.png\",\"width\":600,\"height\":539,\"caption\":\"sql-1\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-set-the-custom-port-for-mssql-remote-access\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-set-the-custom-port-for-mssql-remote-access\/\",\"name\":\"How to Set the Custom Port for MSSQL Remote Access? - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-set-the-custom-port-for-mssql-remote-access\/#primaryimage\"},\"datePublished\":\"2021-09-21T10:15:49+00:00\",\"dateModified\":\"2021-09-21T10:23:14+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-set-the-custom-port-for-mssql-remote-access\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/how-to-set-the-custom-port-for-mssql-remote-access\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-set-the-custom-port-for-mssql-remote-access\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-set-the-custom-port-for-mssql-remote-access\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-set-the-custom-port-for-mssql-remote-access\/\",\"name\":\"How to Set the Custom Port for MSSQL Remote Access?\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=2073"}],"version-history":[{"count":3,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2073\/revisions"}],"predecessor-version":[{"id":2086,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2073\/revisions\/2086"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=2073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=2073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=2073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}