{"id":1424,"date":"2020-06-07T02:55:22","date_gmt":"2020-06-06T18:55:22","guid":{"rendered":"https:\/\/www.wesbytes.com\/guide\/?post_type=kb&#038;p=1424"},"modified":"2026-01-12T15:03:43","modified_gmt":"2026-01-12T07:03:43","slug":"which-ports-will-cloudflare-work-with-it","status":"publish","type":"kb","link":"https:\/\/www.servergigabit.com\/guide\/kb\/which-ports-will-cloudflare-work-with-it","title":{"rendered":"Which ports will Cloudflare work with it?"},"content":{"rendered":"<div class=\"mkb-anchor mkb-clearfix mkb-back-to-top-inline\">\n<h2>Which ports will Cloudflare work with it?<\/h2>\n<h2 class=\"mkb-anchor__title\">Overview<\/h2>\n<\/div>\n<p><a href=\"https:\/\/www.cloudflare.com\/lp\/dg\/brand\/cloudflare-enterprise\/?utm_medium=cpc&amp;utm_source=google&amp;utm_campaign=ao-fy-acq-apac_en-connectivity-ge-txt-general-brand_pure_alpha&amp;utm_content=alpha_brand_pure_cloudflare&amp;utm_source=google&amp;utm_medium=cpc&amp;utm_campaign=CLOUD_ACQ_AOFY_CNC_GOOGLE_GENERAL_TXT_APAC-EN_SGMYTH_MOFU_GENERAL_X_LEAD-GEN_BRAND-PURE-ALPHA&amp;utm_content=Alpha_Brand_Pure_Cloudflare&amp;campaignid=71700000121698366&amp;adgroupid=58700008861645450&amp;creativeid=688251225724&amp;gclsrc=aw.ds&amp;&amp;utm_term=cloudflare_go_cmp-20949966606_adg-160359440560_ad-688251225724_kwd-298437160463_dev-c_ext-_prd-_sig-Cj0KCQiAyP3KBhD9ARIsAAJLnnb3TdmW7o6NZy0EGKUn3JlmTnu_lEBfrhYx9EIK3x9svyLilezQxyIaAjJpEALw_wcB&amp;gad_source=1&amp;gad_campaignid=20949966606&amp;gbraid=0AAAAApvFJgwKHXfBvhFalPSKmEQFWQvfI&amp;gclid=Cj0KCQiAyP3KBhD9ARIsAAJLnnb3TdmW7o6NZy0EGKUn3JlmTnu_lEBfrhYx9EIK3x9svyLilezQxyIaAjJpEALw_wcB\" rel=\"nofollow noopener\" target=\"_blank\">Cloudflare<\/a> can proxy almost all TCP ports. We support two flavors of proxy:<\/p>\n<ul>\n<li>an application level (Layer 7) HTTP proxy, and<\/li>\n<li>Spectrum, a transport level (Layer 4) TCP proxy<\/li>\n<\/ul>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/cdn.haproxy.com\/img\/containers\/partner_integrations\/l4l7pm-hi.png\/e5112ed9f2fbacf8c881bd838bb5eb10\/l4l7pm-hi.png\" alt=\"Which ports will Cloudflare work with it?\" width=\"480\" height=\"270\" \/><\/p>\n<hr \/>\n<div class=\"mkb-anchor mkb-clearfix mkb-back-to-top-inline\">\n<h2 class=\"mkb-anchor__title\">HTTP proxying<\/h2>\n<p>&nbsp;<\/p>\n<\/div>\n<p>Cloudflare can proxy traffic going over the HTTP\/HTTPS ports listed below.<\/p>\n<p>If your traffic is on a different port, you can add it as a record in your Cloudflare DNS zone file as something we don\u2019t proxy (gray cloud = no Cloudflare proxy or caching on a record).<\/p>\n<p>The HTTP ports that Cloudflare support are:<br \/>\n80<br \/>\n8080<br \/>\n8880<br \/>\n2052<br \/>\n2082<br \/>\n2086<br \/>\n2095<\/p>\n<p>The HTTPs ports that Cloudflare support are:<br \/>\n443<br \/>\n2053<br \/>\n2083<br \/>\n2087<br \/>\n2096<br \/>\n8443<\/p>\n<p>For the Pro plan and above, you can block traffic on ports other than 80 and 443 using WAF rule id 100015: \u201cBlock requests to all ports except 80 and 443\u201d.<\/p>\n<p>Ports 80 and 443 are the only ports:<\/p>\n<ul>\n<li>For HTTP\/HTTPS traffic within China for zones that have the\u00a0<strong>China Network<\/strong>\u00a0enabled<\/li>\n<li>For<strong>\u00a0Cloudflare Apps<\/strong>\u00a0to be able to proxy on<\/li>\n<li>Where\u00a0<strong>Cloudflare Caching<\/strong>\u00a0is available<\/li>\n<\/ul>\n<hr \/>\n<div class=\"mkb-anchor mkb-clearfix mkb-back-to-top-inline\">\n<h2 class=\"mkb-anchor__title\">Spectrum proxying<\/h2>\n<p>&nbsp;<\/p>\n<\/div>\n<p><strong>Cloudflare Spectrum<\/strong>\u00a0is an Enterprise plan product that supports proxying arbitrary TCP protocols over any port. The only exception is port 21, where proxying is not supported.<\/p>\n<p>&nbsp;<\/p>\n<p><span data-sheets-root=\"1\">Please refer to the following article to know more.<br \/>\nKnowledge Base: <a href=\"https:\/\/www.servergigabit.com\/guide\/kb\/how-does-cloudflare-work\">How does Cloudflare work?<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Which ports will Cloudflare work with it? Overview Cloudflare can proxy almost all TCP ports. We support two flavors of proxy: an application level (Layer 7) HTTP proxy, and Spectrum, a transport level (Layer 4) TCP proxy HTTP proxying &nbsp; Cloudflare can proxy traffic going over the HTTP\/HTTPS ports listed below. If your traffic is on a different port, you&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[43],"kbtag":[1124,1400],"class_list":["post-1424","kb","type-kb","status-publish","hentry","kbtopic-cloudflare","kbtag-cloudflare","kbtag-http"],"_links":{"self":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/comments?post=1424"}],"version-history":[{"count":5,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1424\/revisions"}],"predecessor-version":[{"id":6113,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/1424\/revisions\/6113"}],"wp:attachment":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/media?parent=1424"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=1424"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtag?post=1424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}