{"id":2972,"date":"2020-04-01T19:09:29","date_gmt":"2020-04-01T13:39:29","guid":{"rendered":"https:\/\/www.24x7serversupport.com\/blog\/?p=2972"},"modified":"2020-04-01T19:09:33","modified_gmt":"2020-04-01T13:39:33","slug":"how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly","status":"publish","type":"post","link":"https:\/\/www.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/","title":{"rendered":"How to Set the Custom Port for MSSQL server and access it Remotly?"},"content":{"rendered":"\n<p>To assign a TCP\/IP port number to the SQL Server Database Engine follow the steps below:<\/p>\n\n\n\n<p>STEP 1: Open the SQL Server Management Studio and login to your Database locally.<\/p>\n\n\n\n<p>STEP 2: Right-click on the server name in the left panel and select Properties.<\/p>\n\n\n\n<p>STEP 3: Select the Connections page on the left side and make sure that \u201cAllow remote connections to this server\u201d option is checked. Then exit SQL Server Management Studio.<\/p>\n\n\n\n<p>allow-remote-connection<\/p>\n\n\n\n<p>STEP 4: Now Open the SQL Server Configuration Manager and expand the node SQL Server Network Configuration. Then Select Protocols for SQLEXPRESS (or whatever the name of your SQL Server instance is). Make sure that TCP\/IP protocol is enabled.<\/p>\n\n\n\n<p>sql<\/p>\n\n\n\n<p>STEP 5: Right click on TCP\/IP and choose Properties. In the TCP\/IP Properties dialog box, click on the IP Addresses tab and scroll down to IPAII section. Make sure TCP Dynamic Ports is blank and that TCP Port is set to 1433 (or whatever you want to set TCP Port).<\/p>\n\n\n\n<p>TCP-IP<\/p>\n\n\n\n<p>STEP 6: First Click on Apply button and then the OK button to save your changes. After that restart your SQL Server instance.<\/p>\n\n\n\n<p>Now you are able to connect to your SQL Server instance remotely using SQL Server Management Studio.<\/p>\n\n\n\n<p>connect to server<\/p>\n\n\n\n<p>If there is problem persist in remote connection, you most likely need to configure your firewall settings. Make sure the TCP port 1433 is not blocked by your firewall.<\/p>\n\n\n\n<p>Take a look at the following steps to create a new rule in firewall setting for remote connection.<\/p>\n\n\n\n<p>STEP 1: In 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 hit Enter.<\/p>\n\n\n\n<p>STEP 2: In the Windows Firewall with Advanced Security window that opens, click on the Inbound Rules in the left panel. Click on the New Rule on the right panel of the window.<\/p>\n\n\n\n<p>firewall1<\/p>\n\n\n\n<p>STEP 3: Select Port on the list of options and click Next.<\/p>\n\n\n\n<p>firewall2<\/p>\n\n\n\n<p>STEP 4: Select TCP (or UDP if that is what you require) and Specific local ports, and then enter your ports in the text box in front of Specific local ports (i.e. 1234). Click Next.<\/p>\n\n\n\n<p>firewall3<\/p>\n\n\n\n<p>STEP 5: Select Allow the connection. Click on Next.<\/p>\n\n\n\n<p>firewall4<\/p>\n\n\n\n<p>STEP 6: Select the options which you want from Domain, Private, Public. Click on Next.<\/p>\n\n\n\n<p>Domain \u2013 This rule will be applicable when the computer is linked to a network domain.<\/p>\n\n\n\n<p>Private \u2013 This rule will be applicable when the computer is linked to trusted private networks.<\/p>\n\n\n\n<p>Public \u2013 This rule will be applicable when the computer is linked to untrusted public networks.<\/p>\n\n\n\n<p>firewall5<\/p>\n\n\n\n<p>STEP 7: Finally, Enter the Name and Description in the text boxes respectively. Then click Finish.<\/p>\n\n\n\n<p>firewall6<\/p>\n\n\n\n<p>After following these steps your port should be allowed through the Windows Firewall.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To assign a TCP\/IP port number to the SQL Server Database Engine follow the steps below: STEP 1: Open the SQL Server Management Studio and login to your Database locally. STEP 2: Right-click on the server name in the left panel and select Properties. STEP 3: Select the Connections page on the left side and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[37],"tags":[],"class_list":["post-2972","post","type-post","status-publish","format-standard","hentry","category-windows"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set the Custom Port for MSSQL server and access it Remotly? | 24x7serversupport 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.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/\" \/>\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 server and access it Remotly? | 24x7serversupport Blog\" \/>\n<meta property=\"og:description\" content=\"To assign a TCP\/IP port number to the SQL Server Database Engine follow the steps below: STEP 1: Open the SQL Server Management Studio and login to your Database locally. STEP 2: Right-click on the server name in the left panel and select Properties. STEP 3: Select the Connections page on the left side and [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7serversupport Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-01T13:39:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-01T13:39:33+00:00\" \/>\n<meta name=\"author\" content=\"24x7support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:site\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"24x7support\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/\",\"name\":\"How to Set the Custom Port for MSSQL server and access it Remotly? | 24x7serversupport Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\"},\"datePublished\":\"2020-04-01T13:39:29+00:00\",\"dateModified\":\"2020-04-01T13:39:33+00:00\",\"author\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.24x7serversupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set the Custom Port for MSSQL server and access it Remotly?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/\",\"name\":\"24x7serversupport Blog\",\"description\":\"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\",\"name\":\"24x7support\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set the Custom Port for MSSQL server and access it Remotly? | 24x7serversupport 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.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/","og_locale":"en_US","og_type":"article","og_title":"How to Set the Custom Port for MSSQL server and access it Remotly? | 24x7serversupport Blog","og_description":"To assign a TCP\/IP port number to the SQL Server Database Engine follow the steps below: STEP 1: Open the SQL Server Management Studio and login to your Database locally. STEP 2: Right-click on the server name in the left panel and select Properties. STEP 3: Select the Connections page on the left side and [&hellip;]","og_url":"https:\/\/www.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/","og_site_name":"24x7serversupport Blog","article_published_time":"2020-04-01T13:39:29+00:00","article_modified_time":"2020-04-01T13:39:33+00:00","author":"24x7support","twitter_card":"summary_large_image","twitter_creator":"@24x7serversuppo","twitter_site":"@24x7serversuppo","twitter_misc":{"Written by":"24x7support","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/","url":"https:\/\/www.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/","name":"How to Set the Custom Port for MSSQL server and access it Remotly? | 24x7serversupport Blog","isPartOf":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#website"},"datePublished":"2020-04-01T13:39:29+00:00","dateModified":"2020-04-01T13:39:33+00:00","author":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401"},"breadcrumb":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7serversupport.com\/blog\/how-to-set-the-custom-port-for-mssql-server-and-access-it-remotly\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7serversupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Set the Custom Port for MSSQL server and access it Remotly?"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7serversupport.com\/blog\/#website","url":"https:\/\/www.24x7serversupport.com\/blog\/","name":"24x7serversupport Blog","description":"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401","name":"24x7support","url":"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/comments?post=2972"}],"version-history":[{"count":1,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2972\/revisions"}],"predecessor-version":[{"id":2973,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2972\/revisions\/2973"}],"wp:attachment":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media?parent=2972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/categories?post=2972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/tags?post=2972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}