{"id":63210,"date":"2022-09-08T13:57:46","date_gmt":"2022-09-08T13:57:46","guid":{"rendered":"\/tutorials\/?p=63210"},"modified":"2026-03-09T19:18:29","modified_gmt":"2026-03-09T19:18:29","slug":"https-port","status":"publish","type":"post","link":"\/ng\/tutorials\/https-port","title":{"rendered":"What is HTTPS Port 443? Definition, uses, and setup"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><p><strong>An HTTPS port is a network endpoint used to securely transmit encrypted web traffic between a browser and a website server.<\/strong> The most commonly used HTTPS ports are <strong>443 and 8443<\/strong>, which allow communication over encrypted protocols like SSL (Secure Sockets Layer) and TLS (Transport Layer Security).<\/p><p>These ports are essential for protecting sensitive data and ensuring secure access to websites. In this guide, we&rsquo;ll explain <strong>what HTTPS ports are<\/strong>, highlight <strong>how they differ from SSL certificates<\/strong>, and show <strong>how to enable or configure them<\/strong> on Windows, macOS, and Linux systems.<\/p><p>\n\n\n<div class=\"protip\">\n                    <h2 class=\"featured-snippet title\">What Is an HTTPS Port<\/h2>\n                    <p> HTTPS ports are dedicated network ports that allow internet users to transmit data via a secure connection encrypted using an SSL\/TLS certificate. The most common examples are ports 443 and 8443.<\/p>\n                <\/div>\n\n\n\n<\/p><h3 class=\"wp-block-heading\" id=\"h-differences-between-ssl-and-https-port\">Differences Between SSL and HTTPS Port<\/h3><p>The HTTPS protocol runs over an <a href=\"\/ng\/ssl-certificate\">SSL certificate<\/a> installed on a web server. Although both work alongside each other, they serve as two different core factors in establishing an encrypted connection.<\/p><p>An SSL certificate operates by authenticating a user&rsquo;s identity when they attempt to send information. However, this technology is currently deprecated and replaced by TLS, which performs better than its predecessor.<\/p><p>The main difference between <a href=\"\/ng\/tutorials\/http-vs-https\">HTTP vs. HTTPS<\/a> is that only the latter provides a secure channel where encrypted data is transmitted safely.<\/p><p>To identify whether a website uses an SSL certificate, look at its URL and check if it contains an HTTPS extension and a padlock icon next to the domain name.<\/p><p>Check out our tutorial to learn more about <a href=\"\/ng\/tutorials\/what-is-ssl\">SSL\/TLS vs. HTTPS<\/a>.<\/p><h2 class=\"wp-block-heading\" id=\"h-most-common-https-ports\">Most Common HTTPS Ports<\/h2><p>In this section, we will discuss the most commonly used HTTPS ports &ndash; <strong>443<\/strong> and <strong>8443<\/strong>.<\/p><h3 class=\"wp-block-heading\" id=\"h-port-443\">Port 443<\/h3><p>The <strong>Internet Engineering Task Force (IETF)<\/strong> recognizes the <a href=\"\/ng\/tutorials\/tcp-protocol\">TCP<\/a> port number 443 as the default HTTPS protocol. It provides an encryption algorithm for exchanging information between web servers and browsers. HTTPS port 443 works by securing network traffic packets before the data transmission occurs.<\/p><p>As a dedicated port for web browsing, it uses an SSL\/TLS certificate to encrypt the original text into an algorithm, then converts it to ciphertext before sending it to the server. This prevents unwanted eavesdropping and interception of data transmitted across the protocol.<\/p><h3 class=\"wp-block-heading\" id=\"h-port-8443\">Port 8443<\/h3><p>Port number 8443 is an alternative HTTPS port and a primary protocol that the <strong>Apache<\/strong> <strong>Tomcat<\/strong> web server utilizes to open the SSL text service.<\/p><p>In addition, this port is primarily used as an <strong>HTTPS<\/strong> <strong>Client<\/strong> <strong>Authentication<\/strong> connection protocol.<\/p><p>The HTTPS port provides encrypted traffic by generating an authentication key pair for the user that is kept within the web browser. The server will then verify the authenticity of the private key before establishing a secure connection.<\/p><h3 class=\"wp-block-heading\" id=\"h-list-of-https-port-numbers\">List of HTTPS Port Numbers<\/h3><p>Here&rsquo;s a list of some service names and transport protocol port registries from the <strong>Internet Assigned Numbers Authority (IANA)<\/strong>:<\/p><figure tabindex=\"0\" class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>                                   Port                                                                                                                                                              <\/strong><\/td><td><strong>Function<\/strong><\/td><\/tr><tr><td>                                   443<\/td><td>HTTPS<\/td><\/tr><tr><td>                                   631<\/td><td>Internet Printing Protocol over HTTPS (IPPS)<\/td><\/tr><tr><td>                                   664<\/td><td>DMTF out-of-band secure web services management protocol<\/td><\/tr><tr><td>                                   832<\/td><td>NETCONF for SOAP over HTTPS<\/td><\/tr><tr><td>                                  1129<\/td><td>SAPHostControl over SOAP\/HTTPS<\/td><\/tr><tr><td>                                  1184<\/td><td>LL Surfup HTTPS<\/td><\/tr><tr><td>                                  2381<\/td><td>Compaq HTTPS<\/td><\/tr><tr><td>                                 4036<\/td><td>WAP Push OTA-HTTPS<\/td><\/tr><tr><td>                                 4849<\/td><td>App Server &ndash; Admin HTTPS<\/td><\/tr><tr><td>                                 5443<\/td><td>Pearson HTTPS<\/td><\/tr><tr><td>                                 5989<\/td><td>WBEM CIM-XML (HTTPS)<\/td><\/tr><tr><td>                                 5990 <\/td><td>WBEM Export HTTPS<\/td><\/tr><tr><td>                                 6443<\/td><td>Service Registry Default HTTPS Domain<\/td><\/tr><tr><td>                                 6771<\/td><td>PolyServe HTTPS<\/td><\/tr><tr><td>                                7202<\/td><td>Inter-Channel Termination Protocol (ICTP) for multi-wavelength PON (Passive Optical Network Systems)<\/td><\/tr><tr><td>                                 7443<\/td><td>Oracle Applications Server HTTPS<\/td><\/tr><tr><td>                                 7677<\/td><td>Sun App Server HTTPS<\/td><\/tr><tr><td>                                8243<\/td><td>Synapse Non-Blocking HTTPS<\/td><\/tr><tr><td>                                8443<\/td><td>PCsync HTTPS<\/td><\/tr><tr><td>                                8991<\/td><td>Webmail HTTPS service<\/td><\/tr><tr><td>                                9295<\/td><td>ARMCenter HTTPS service<\/td><\/tr><tr><td>                                9443<\/td><td>WSO2 Tungsten HTTPS<\/td><\/tr><tr><td>                                9444<\/td><td>WSO2 ESB Administration Console HTTPS<\/td><\/tr><tr><td>                               16993<\/td><td>Intel(R) AMT SOAP\/HTTPS<\/td><\/tr><tr><td>                               20003<\/td><td>Commtact HTTPS<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\" id=\"h-why-use-an-https-port\">Why Use an HTTPS Port<\/h2><p>For website owners, utilizing a secure channel is essential. Here are four main reasons you should switch to an HTTPS port:<\/p><ul class=\"wp-block-list\">\n<li><strong>Sensitive information protection. <\/strong>One of the <a href=\"\/ng\/tutorials\/ssl-benefits\">benefits of using SSL<\/a> is that it encrypts and authenticates data as it&rsquo;s being transferred. It ensures data security in transit and protects it from <strong>man-in-the-middle (MITM)<\/strong> attacks.<\/li>\n\n\n\n<li><strong>Keeps online transactions secure.<\/strong> eCommerce site owners must have an SSL certificate to encrypt financial data and adhere to the <strong>Payment Card Industry Data Security Standards (PCI DSS)<\/strong> requirements.<\/li>\n\n\n\n<li><strong>Increases website&rsquo;s rank on Search Engine Result Pages (SERP).<\/strong> HTTPS is an important metric for <strong><a href=\"\/ng\/tutorials\/what-is-seo\/\">search engine optimization (SEO)<\/a><\/strong>. Therefore, sites with an SSL certificate will rank better on search results.<\/li>\n\n\n\n<li><strong>Improves customers&rsquo; trust and conversion rate.<\/strong> An HTTPS site assures visitors that their sensitive information is secure, making them more likely to revisit your site.<\/li>\n<\/ul><h2 class=\"wp-block-heading\" id=\"h-how-to-enable-port-443-and-port-8443\">How to Enable Port 443 and Port 8443<\/h2><p>While each operating system has different procedures, you can open or close a specific port through a firewall control panel or security architecture.<\/p><h3 class=\"wp-block-heading\" id=\"h-enable-ports-443-and-8443-on-windows\">Enable Ports 443 and 8443 on Windows<\/h3><p>Follow these steps to allow ports 443 and 8443 on the Windows firewall:<\/p><ol class=\"wp-block-list\">\n<li>Open the <strong>Control Panel<\/strong>.<\/li>\n\n\n\n<li>Select <strong>System and Security<\/strong> and click <strong>Windows Defender Firewall<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-Windows-Defender-Firewall-on-the-System-and-Security-interface-on-Windows.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1115\" height=\"615\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-Windows-Defender-Firewall-on-the-System-and-Security-interface-on-Windows.png\/public\" alt=\"Choosing Windows Defender Firewall on the System and Security interface on Windows.\" class=\"wp-image-63245\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-Windows-Defender-Firewall-on-the-System-and-Security-interface-on-Windows.png\/w=1115,fit=scale-down 1115w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-Windows-Defender-Firewall-on-the-System-and-Security-interface-on-Windows.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-Windows-Defender-Firewall-on-the-System-and-Security-interface-on-Windows.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-Windows-Defender-Firewall-on-the-System-and-Security-interface-on-Windows.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-Windows-Defender-Firewall-on-the-System-and-Security-interface-on-Windows.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1115px) 100vw, 1115px\" \/><\/a><\/figure><\/div><ol start=\"3\" class=\"wp-block-list\">\n<li>Choose <strong>Advanced settings<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-the-Advanced-settings-on-the-Windows-Defender-Firewall-interface-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1115\" height=\"370\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-the-Advanced-settings-on-the-Windows-Defender-Firewall-interface-1.png\/public\" alt=\"Choosing the Advanced settings on Windows Defender Firewall.\" class=\"wp-image-63246\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-the-Advanced-settings-on-the-Windows-Defender-Firewall-interface-1.png\/w=1115,fit=scale-down 1115w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-the-Advanced-settings-on-the-Windows-Defender-Firewall-interface-1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-the-Advanced-settings-on-the-Windows-Defender-Firewall-interface-1.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-the-Advanced-settings-on-the-Windows-Defender-Firewall-interface-1.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-the-Advanced-settings-on-the-Windows-Defender-Firewall-interface-1.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1115px) 100vw, 1115px\" \/><\/a><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>The <strong>Windows Defender Firewall with Advanced Security<\/strong> window will open. Select <strong>Inbound Rules<\/strong> and, under the <strong>Actions<\/strong> tab, click <strong>New Rule&hellip;<\/strong><\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-a-new-rule-on-the-Windows-Defender-Firewall-with-Advanced-Security-interface.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1040\" height=\"417\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-a-new-rule-on-the-Windows-Defender-Firewall-with-Advanced-Security-interface.png\/public\" alt=\"Adding a new inbound rule on Windows Defender Firewall.\" class=\"wp-image-63248\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-a-new-rule-on-the-Windows-Defender-Firewall-with-Advanced-Security-interface.png\/w=1040,fit=scale-down 1040w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-a-new-rule-on-the-Windows-Defender-Firewall-with-Advanced-Security-interface.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-a-new-rule-on-the-Windows-Defender-Firewall-with-Advanced-Security-interface.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-a-new-rule-on-the-Windows-Defender-Firewall-with-Advanced-Security-interface.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-a-new-rule-on-the-Windows-Defender-Firewall-with-Advanced-Security-interface.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1040px) 100vw, 1040px\" \/><\/a><\/figure><\/div><ol start=\"5\" class=\"wp-block-list\">\n<li>The <strong>New Inbound Rule Wizard<\/strong> window will open. Select <strong>Port <\/strong>and click <strong>Next<\/strong>.<\/li>\n<\/ol><ol start=\"6\" class=\"wp-block-list\">\n<li>Select <strong>TCP<\/strong> under the <strong>Does this rule apply to TCP or UDP?<\/strong> option and type in the port numbers <strong>443<\/strong> and <strong>8443<\/strong> next to the <strong>Specific local ports<\/strong>, separated by a comma. Once finished, click <strong>Next<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-the-type-of-rule-on-the-New-Inbound-Rule-Wizard-interface-on-Windows-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"575\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-the-type-of-rule-on-the-New-Inbound-Rule-Wizard-interface-on-Windows-1.png\/public\" alt=\"Choosing the type of rule to add on Windows Defender Firewall.\" class=\"wp-image-63249\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-the-type-of-rule-on-the-New-Inbound-Rule-Wizard-interface-on-Windows-1.png\/w=711,fit=scale-down 711w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-the-type-of-rule-on-the-New-Inbound-Rule-Wizard-interface-on-Windows-1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Choosing-the-type-of-rule-on-the-New-Inbound-Rule-Wizard-interface-on-Windows-1.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/a><\/figure><\/div><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Specifying-the-protocol-and-ports-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\"><img loading=\"lazy\" decoding=\"async\" width=\"709\" height=\"575\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Specifying-the-protocol-and-ports-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/public\" alt=\"Adding the local ports that you want to allow on Windows Defender Firewall\" class=\"wp-image-63252\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Specifying-the-protocol-and-ports-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/w=709,fit=scale-down 709w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Specifying-the-protocol-and-ports-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Specifying-the-protocol-and-ports-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 709px) 100vw, 709px\" \/><\/a><\/figure><\/div><ol start=\"7\" class=\"wp-block-list\">\n<li>Select the <strong>Allow the connection<\/strong> option and hit <strong>Next<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-an-action-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"576\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-an-action-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/public\" alt=\"Adding the local ports that you want to allow on Windows Defender Firewall\" class=\"wp-image-63251\" style=\"width:708px;height:576px\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-an-action-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/w=708,fit=scale-down 708w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-an-action-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-an-action-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/a><\/figure><\/div><ol start=\"8\" class=\"wp-block-list\">\n<li>Tick all the <strong>Domain<\/strong>, <strong>Private<\/strong>, and <strong>Public <\/strong>profiles and click <strong>Next<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Specifying-the-profiles-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"574\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Specifying-the-profiles-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/public\" alt=\"Specifying the new rule's profiles on Windows Defender Firewall.\" class=\"wp-image-63253\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Specifying-the-profiles-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/w=708,fit=scale-down 708w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Specifying-the-profiles-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Specifying-the-profiles-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/a><\/figure><\/div><ol start=\"9\" class=\"wp-block-list\">\n<li>Lastly, give the rule a name and add a description if you wish. Select <strong>Finish<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-the-name-and-description-of-the-rule-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"576\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-the-name-and-description-of-the-rule-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/public\" alt=\"Adding the name and description to the new rule on Windows Defender Firewall.\" class=\"wp-image-63254\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-the-name-and-description-of-the-rule-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/w=711,fit=scale-down 711w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-the-name-and-description-of-the-rule-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Adding-the-name-and-description-of-the-rule-on-the-New-Inbound-Rule-Wizard-interface-on-Windows.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/a><\/figure><\/div><h3 class=\"wp-block-heading\" id=\"h-enable-ports-443-and-8443-on-macos\">Enable Ports 443 and 8443 on macOS<\/h3><p>Here&rsquo;s how to authorize ports 443 and 8443 on macOS firewall:<\/p><ol class=\"wp-block-list\">\n<li>Open <strong>System Preferences<\/strong> and select <strong>Security &amp; Privacy<\/strong> to check firewall status. It should be<strong> enabled<\/strong> by default.<\/li>\n\n\n\n<li>If the firewall is enabled, open the <strong>Terminal <\/strong>and log in as a root user.<\/li>\n\n\n\n<li>Next, open the packet filter configuration file by inserting the following command and pressing <strong>Enter<\/strong>:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo nano \/etc\/pf.conf<\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/image17.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1140\" height=\"742\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/image17.png\/public\" alt=\"Opening macOS Packet Filter sysconfig file using Terminal.\" class=\"wp-image-63277\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/image17.png\/w=1140,fit=scale-down 1140w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/image17.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/image17.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/image17.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/image17.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1140px) 100vw, 1140px\" \/><\/a><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>Add these two following lines at the bottom of the <strong>pf.conf<\/strong> file to allow ports 443 and 8443:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">pass in inet proto tcp from any to any port 443 no state<\/pre><pre class=\"wp-block-preformatted\">pass in inet proto tcp from any to any port 8443 no state<\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Allowing-ports-443-and-8443-on-macOS-Packet-Filter-using-Terminal.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1140\" height=\"742\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Allowing-ports-443-and-8443-on-macOS-Packet-Filter-using-Terminal.png\/public\" alt=\"Allowing ports 443 and 8443 on macOS&rsquo; Packet Filter using Terminal.\" class=\"wp-image-63259\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Allowing-ports-443-and-8443-on-macOS-Packet-Filter-using-Terminal.png\/w=1140,fit=scale-down 1140w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Allowing-ports-443-and-8443-on-macOS-Packet-Filter-using-Terminal.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Allowing-ports-443-and-8443-on-macOS-Packet-Filter-using-Terminal.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Allowing-ports-443-and-8443-on-macOS-Packet-Filter-using-Terminal.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Allowing-ports-443-and-8443-on-macOS-Packet-Filter-using-Terminal.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1140px) 100vw, 1140px\" \/><\/a><\/figure><\/div><ol start=\"5\" class=\"wp-block-list\">\n<li>Use the keyboard shortcut <strong>Control + O <\/strong>and hit <strong>Enter<\/strong> to save your changes. Press <strong>Control <\/strong>+ <strong>X <\/strong>to close the text editor.<\/li>\n\n\n\n<li>Reload the firewall configuration file by running this command:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo pfctl -f \/etc\/pf.conf<\/pre><ol start=\"7\" class=\"wp-block-list\">\n<li>Lastly, type in the following command and hit <strong>Enter <\/strong>to restart the firewall itself:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo pfctl -e<\/pre><h3 class=\"wp-block-heading\" id=\"h-enable-ports-443-and-8443-on-ubuntu\">Enable Ports 443 and 8443 on Ubuntu<\/h3><p>There are two ways to open ports on Ubuntu &ndash; via <strong>UFW<\/strong> and <strong>iptables<\/strong>.<\/p><p><strong>Enable Ports 443 and 8443 via UFW<\/strong><\/p><p>Here&rsquo;s how to enable HTTPS port 443 and port 8443 using UFW:<\/p><ol class=\"wp-block-list\">\n<li>Open the <strong>Terminal <\/strong>and log in as a root user.<\/li>\n\n\n\n<li>Update the system by running this command:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo apt update<\/pre><ol start=\"3\" class=\"wp-block-list\">\n<li>Upgrade the package list by typing in the following command and pressing <strong>Enter<\/strong>:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo apt upgrade<\/pre><ol start=\"4\" class=\"wp-block-list\">\n<li>Next, open port 443 by running this command:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo ufw allow 443\/tcp<\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-443-on-Ubuntus-UFW-using-Terminal.png\"><img loading=\"lazy\" decoding=\"async\" width=\"288\" height=\"68\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-443-on-Ubuntus-UFW-using-Terminal.png\/public\" alt=\"Enabling port 443 on Ubuntu's UFW using Terminal.\" class=\"wp-image-63260\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-443-on-Ubuntus-UFW-using-Terminal.png\/w=288,fit=scale-down 288w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-443-on-Ubuntus-UFW-using-Terminal.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 288px) 100vw, 288px\" \/><\/a><\/figure><\/div><ol start=\"5\" class=\"wp-block-list\">\n<li>Insert the following command to enable port 443:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo ufw allow 8443\/tcp<\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-8443-on-Ubuntus-UFW-using-Terminal.png\"><img loading=\"lazy\" decoding=\"async\" width=\"328\" height=\"72\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-8443-on-Ubuntus-UFW-using-Terminal.png\/public\" alt=\"Enabling port 8443 on Ubuntu's UFW using Terminal\" class=\"wp-image-63262\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-8443-on-Ubuntus-UFW-using-Terminal.png\/w=328,fit=scale-down 328w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-8443-on-Ubuntus-UFW-using-Terminal.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-8443-on-Ubuntus-UFW-using-Terminal.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 328px) 100vw, 328px\" \/><\/a><\/figure><\/div><ol start=\"6\" class=\"wp-block-list\">\n<li>Finally, run the last command below to verify the new rules:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo ufw status verbose<\/pre><p><strong>Enable Ports 443 and 8443 via iptables<\/strong><\/p><p>Follow these steps to open HTTPS port 443 and port 8443 using iptables:<\/p><ol class=\"wp-block-list\">\n<li>Open the <strong>Terminal <\/strong>and access <a href=\"\/ng\/tutorials\/ssh-tutorial-how-does-ssh-work\">SSH<\/a> as a root user.<\/li>\n\n\n\n<li>Update the system by typing in this command and pressing <strong>Enter<\/strong>:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo apt update<\/pre><ol start=\"3\" class=\"wp-block-list\">\n<li>Insert the following command to upgrade the package list:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo apt upgrade<\/pre><ol start=\"4\" class=\"wp-block-list\">\n<li>To save the new rules on iptables, you have to set up the <strong>iptables-persistent<\/strong> package. Install it by using the following command:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo apt install iptables-persistent<\/pre><ol start=\"5\" class=\"wp-block-list\">\n<li>Run this command to enable port 443. Note that it will not show you an output:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo iptables -A INPUT -p tcp --dport 443 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT<\/pre><p>If the output<strong> <\/strong>policy is not set to <strong>ACCEPT<\/strong>, add the following command:<\/p><pre class=\"wp-block-preformatted\">sudo iptables -A OUTPUT -p tcp --sport 443 -m conntrack --ctstate ESTABLISHED -j ACCEPT<\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-443-on-Ubuntus-iptables-using-Terminal.png\"><img loading=\"lazy\" decoding=\"async\" width=\"774\" height=\"54\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-443-on-Ubuntus-iptables-using-Terminal.png\/public\" alt=\"Enabling port 443 on Ubuntu's iptables using Terminal\" class=\"wp-image-63263\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-443-on-Ubuntus-iptables-using-Terminal.png\/w=774,fit=scale-down 774w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-443-on-Ubuntus-iptables-using-Terminal.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-443-on-Ubuntus-iptables-using-Terminal.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-443-on-Ubuntus-iptables-using-Terminal.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 774px) 100vw, 774px\" \/><\/a><\/figure><\/div><ol start=\"6\" class=\"wp-block-list\">\n<li>Next, enable port 8443 by typing in this command<strong>.<\/strong> Similarly, it will not produce an output:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo iptables -A INPUT -p tcp --dport 8443 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT<\/pre><p>If the output<strong> <\/strong>policy is not set to <strong>ACCEPT<\/strong>, add this command:<\/p><pre class=\"wp-block-preformatted\">sudo iptables -A OUTPUT -p tcp --sport 8443 -m conntrack --ctstate ESTABLISHED -j ACCEPT<\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-8443-on-Ubuntus-iptables-using-Terminal.png\"><img loading=\"lazy\" decoding=\"async\" width=\"781\" height=\"71\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-8443-on-Ubuntus-iptables-using-Terminal.png\/public\" alt=\"Enabling port 8443 on Ubuntu's iptables using Terminal.\" class=\"wp-image-63264\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-8443-on-Ubuntus-iptables-using-Terminal.png\/w=781,fit=scale-down 781w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-8443-on-Ubuntus-iptables-using-Terminal.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-8443-on-Ubuntus-iptables-using-Terminal.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Enabling-port-8443-on-Ubuntus-iptables-using-Terminal.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 781px) 100vw, 781px\" \/><\/a><\/figure><\/div><ol start=\"7\" class=\"wp-block-list\">\n<li>Lastly, run the following command to save the changes:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo netfilter-persistent save<\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Saving-the-new-rules-on-Ubuntus-iptables-using-Terminal.png\"><img loading=\"lazy\" decoding=\"async\" width=\"573\" height=\"64\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Saving-the-new-rules-on-Ubuntus-iptables-using-Terminal.png\/public\" alt=\"Saving the new rules on Ubuntu's iptables using Terminal.\" class=\"wp-image-63265\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Saving-the-new-rules-on-Ubuntus-iptables-using-Terminal.png\/w=573,fit=scale-down 573w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Saving-the-new-rules-on-Ubuntus-iptables-using-Terminal.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Saving-the-new-rules-on-Ubuntus-iptables-using-Terminal.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 573px) 100vw, 573px\" \/><\/a><\/figure><\/div><h3 class=\"wp-block-heading\" id=\"h-enable-ports-443-and-8443-on-centos\">Enable Ports 443 and 8443 on CentOS<\/h3><p>Here&rsquo;s how to open ports 443 and 8443 using iptables on CentOS:<\/p><ol class=\"wp-block-list\">\n<li>Open the <strong>Terminal <\/strong>and log in as root user.<\/li>\n\n\n\n<li>Open the <strong>iptables<\/strong> configuration file by running the following command:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo vi \/etc\/sysconfig\/iptables<\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Opening-CentOS-iptables-sysconfig-file-via-Terminal.png\"><img loading=\"lazy\" decoding=\"async\" width=\"629\" height=\"240\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Opening-CentOS-iptables-sysconfig-file-via-Terminal.png\/public\" alt=\"Opening CentOS' iptables sysconfig file via Terminal.\" class=\"wp-image-63266\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Opening-CentOS-iptables-sysconfig-file-via-Terminal.png\/w=629,fit=scale-down 629w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Opening-CentOS-iptables-sysconfig-file-via-Terminal.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/09\/Opening-CentOS-iptables-sysconfig-file-via-Terminal.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/figure><\/div><ol start=\"3\" class=\"wp-block-list\">\n<li>Enter the <strong>Insert mode<\/strong> by using the keyboard shortcut <strong>Shift + I<\/strong>.<\/li>\n\n\n\n<li>Append the rule by inserting the following lines to the file:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">-A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT<\/pre><pre class=\"wp-block-preformatted\">-A INPUT -m state --state NEW -m tcp -p tcp --dport 8443 -j ACCEPT<\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Allowing-port-443-and-8443-on-CentOS-iptables-using-Terminal..png\"><img loading=\"lazy\" decoding=\"async\" width=\"691\" height=\"284\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/09\/Allowing-port-443-and-8443-on-CentOS-iptables-using-Terminal..png\" alt=\"Allowing port 443 and 8443 on CentOS' iptables using Terminal.\" class=\"wp-image-63267\" srcset=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/64\/2022\/09\/Allowing-port-443-and-8443-on-CentOS-iptables-using-Terminal..png 691w, https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/64\/2022\/09\/Allowing-port-443-and-8443-on-CentOS-iptables-using-Terminal.-300x123.png 300w, https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/64\/2022\/09\/Allowing-port-443-and-8443-on-CentOS-iptables-using-Terminal.-150x62.png 150w\" sizes=\"auto, (max-width: 691px) 100vw, 691px\" \/><\/a><\/figure><\/div><ol start=\"5\" class=\"wp-block-list\">\n<li>Save and close the file by pressing <strong>Control + C <\/strong>-&gt; <strong>Y <\/strong>-&gt; <strong>Enter <\/strong>to confirm the changes.<\/li>\n\n\n\n<li>Restart the iptables service by running the command below:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">sudo systemctl restart iptables<\/pre><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-full\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-web-hosting\" href=\"\/ng\/web-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/11\/Web-hosting_in-text-banner.png\/public\" alt=\"Hostinger web hosting banner\" class=\"wp-image-98604\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/11\/Web-hosting_in-text-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/11\/Web-hosting_in-text-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/11\/Web-hosting_in-text-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/11\/Web-hosting_in-text-banner.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>The <strong>HyperText Transfer Protocol Secure (HTTPS)<\/strong> port is a secure version of HTTP. It provides a communication channel that secures the data transferred between a server and a web browser using an SSL\/TLS certificate that encrypts the web traffic and protects sensitive customer information in transit.<\/p><p>In computer networking, there are many ports assigned for specific purposes. However, the two most common ports used in secured web browser communication are <strong>port 443<\/strong> and <strong>port 8443<\/strong>.<\/p><p>We hope this article has helped you understand HTTPS ports, their examples, and how to enable these network ports on different operating systems &ndash; <strong>Windows<\/strong>, <strong>macOS<\/strong>, <strong>Ubuntu<\/strong>, and <strong>CentOS<\/strong>.<\/p><p>If you have any further questions or suggestions, please leave them in the comments section below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An HTTPS port is a network endpoint used to securely transmit encrypted web traffic between a browser and a website server. The most commonly used HTTPS ports are 443 and 8443, which allow communication over encrypted protocols like SSL (Secure Sockets Layer) and TLS (Transport Layer Security). These ports are essential for protecting sensitive data [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ng\/tutorials\/https-port\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":298,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"What is HTTPS Port 443 and how does it work?","rank_math_description":"HTTPS ports like 443 enable secure data transfer via SSL\/TLS. Discover what they are, why they matter, and how to set them up.","rank_math_focus_keyword":"https port","footnotes":""},"categories":[22630],"tags":[],"class_list":["post-63210","post","type-post","status-publish","format-standard","hentry","category-technical-aspects"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/https-port","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/porta-https","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/port-https","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/puerto-https","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/apa-itu-port-https-dan-cara-mengaktifkannya","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/https-port","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/https-port","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/https-port","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/puerto-https","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/puerto-https","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/puerto-https","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/https-port","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/https-port","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/porta-https","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/https-port","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/https-port","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/63210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/users\/298"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/comments?post=63210"}],"version-history":[{"count":21,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/63210\/revisions"}],"predecessor-version":[{"id":144370,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/63210\/revisions\/144370"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media?parent=63210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/categories?post=63210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/tags?post=63210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}