If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: web.archive.org/web/20221208233829/https://docs.github.com/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace - Forwarding ports in your codes.

site address: web.archive.org/web/20221129035357/https://docs.github.com/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace redirected to: web.archive.org/web/20221208233829/https://docs.github.com/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace

site title: Forwarding ports in your codespace - GitHub Docs

Our opinion (on Monday 28 September 2026 12:49:50 UTC):

GREEN status (no comments) - no comments
After content analysis of this website we propose the following hashtags:



Meta tags:
description=You can forward ports in your codespace to test and debug your application. You can also manage the port protocol and share the port within your organization or publicly.;
keywords=Codespaces,Fundamentals,Developer;

Headings (most frequently used words):

port, forwarding, codespace, sharing, labeling, adding, to, the, configuration, help, ports, in, this, your, article, about, forwarded, using, https, did, doc, you, us, make, these, docs, great, still, need,

Text of the page (most frequently used words):
the (172), port (124), you (72), #codespace (64), ports (58), your (53), github (49), for (43), can (39), forwarded (38), codespaces (38), click (32), organization (30), make (22), label (20), then (19), and (19), visibility (19), that (18), forward (17), configuration (17), application (17), private (17), with (17), see (15), want (15), forwarding (14), under (13), editor (13), public (13), url (13), more (12), information (12), add (12), code (12), share (12), this (11), text (11), using (11), repository (11), after (11), about (10), browser (10), running (10), use (9), cli (9), local (9), machine (9), type (9), enter (9), set (9), update (9), automatically (9), list (9), note (9), docs (8), press (8), right (8), change (8), view (8), http (8), manually (7), desktop (7), from (7), adding (7), when (7), command (7), number (7), anyone (7), default (7), restrict (7), web (7), devcontainer (6), json (6), created (6), dev (6), labeling (6), team (6), sharing (6), access (6), security (5), all (5), open (5), policy (5), jetbrains (5), configure (5), will (5), select (5), icon (5), restricting (5), enterprise (5), publicly (5), https (5), help (4), any (4), introduction (4), containers (4), hover (4), over (4), org (4), who (4), knows (4), only (4), may (4), cloud (4), address (4), within (4), terminal (4), localhost (4), visual (4), studio (4), protocol (4), developing (4), prebuilds (4), api (3), support (3), pull (3), page (3), file (3), property (3), panel (3), opened (3), forwardports (3), previously (3), must (3), rebuilt (3), apply (3), easier (3), identify (3), replace (3), choose (3), setting (3), visible (3), members (3), choice (3), options (3), limited (3), configured (3), others (3), either (3), without (3), needing (3), authenticate (3), uses (3), also (3), into (3), forwards (3), ides (3), manage (3), search (3), english (3), free (3), pro (3), logs (3), repo (3), contact (2), privacy (2), 2022 (2), learn (2), how (2), are (2), source (2), article (2), manual (2), example (2), settings (2), entering (2), displayed (2), subcommand (2), send (2), copied (2), person (2), copy (2), menu (2), wasn (2), owners (2), ability (2), available (2), inside (2), prints (2), output (2), contains (2), such (2), string (2), converted (2), link (2), 127 (2), needed (2), beta (2), test (2), copilot (2), requests (2), started (2), gpg (2), verification (2), deletion (2), changes (2), timeout (2), encrypted (2), secrets (2), managing (2), container (2), template (2), create (2), 2021 (2), blog, training, developer, pricing, status, terms, inc, provide, feedback, still, need, contribute, contribution, something, wrong, unclear, submit, request, these, great, did, doc, alternatively, tab, top, section, documentation, model, labels, 3000, 3306, multiple, one, owns, there, three, details, remote, connect, remembered, lifetime, but, gives, tcp, particular, allows, testing, debugging, currently, subject, debug, 한국어, русский, français, deutsch, português, brasil, español, 日本語, 简体中文, versions, npm, codeql, electron, atom, education, pages, building, communities, sponsors, discussions, graphql, rest, developers, packages, actions, issues, organizations, site, billing, payments, administrators, repositories, authentication, account, profile, get, guides, based, working, clients, dotfiles, connection, creation, exporting, troubleshooting, disaster, recovery, full, rebuilds, palette, plugin, registry, reference, retention, period, periods, base, image, types, audit, costs, enable, allow, external, prebuilding, automatic, region, rename, personalize, customizing, badge, opening, files, features, minimum, spec, learning, connecting, network, environment, variables, stop, control, existing, delete, develop, deep, dive, lifecycle, quickstart, getting, overview, products, skip, main, content, wayback, archive, 20221208233829, com, timestamps, capture, fail, success, 2023, jan, dec, nov, jul, 2026, captures,


Text of the page (random words):
forwarding ports in your codespace github docs 56 captures 06 may 2021 08 jul 2026 nov dec jan 08 2021 2022 2023 success fail about this capture timestamps the wayback machine http web archive org web 20221208233829 https docs github com en codespaces developing in codespaces forwarding ports in your codespace skip to main content github docs all products github codespaces overview getting started quickstart for codespaces the codespace lifecycle deep dive into codespaces developing in a codespace develop in a codespace create a codespace for a repo create a codespace from a template delete a codespace open an existing codespace source control pull requests stop a codespace forward ports default environment variables connecting to a private network machine learning visual studio code jetbrains ides github cli setting up your repository introduction to dev containers add a dev container to your repository set a minimum machine spec adding features automatically opening files add a codespaces badge set up a template repo customizing your codespace personalize your codespaces rename a codespace change the machine type set the default editor set the default region set the timeout configure automatic deletion prebuilding your codespaces about prebuilds configure prebuilds allow external repo access manage prebuilds test dev container changes managing your codespaces encrypted secrets repository access security logs gpg verification managing your organization enable codespaces list organization codespaces manage codespaces costs encrypted secrets repository access audit logs restrict machine types restrict base image restrict port visibility restrict timeout periods restrict the retention period reference access a private registry copilot in codespaces plugin for jetbrains vs code command palette security in codespaces full rebuilds disaster recovery troubleshooting codespaces logs exporting changes creation and deletion connection codespaces prebuilds dotfiles port forwarding codespaces clients gpg verification working with support web based editor guides github codespaces developing in a codespace forward ports free pro team english search github docs github docs github codespaces developing in a codespace forward ports github codespaces get started account and profile authentication repositories enterprise administrators billing and payments site policy organizations code security pull requests github issues github actions github copilot github codespaces github packages search on github developers rest api graphql api github cli github discussions github sponsors building communities github pages education github desktop github support atom electron codeql npm free pro team free pro team enterprise cloud about versions english english 简体中文 日本語 español português do brasil deutsch français русский 한국어 search github docs forwarding ports in your codespace in this article about forwarded ports forwarding a port using https forwarding sharing a port labeling a port adding a port to the codespace configuration forwarding a port sharing a port labeling a port adding a port to the codespace configuration sharing a port labeling a port adding a port to the codespace configuration forwarding a port you can forward ports in your codespace to test and debug your application you can also manage the port protocol and share the port within your organization or publicly github cli jetbrains ides beta visual studio code web browser note using github codespaces with jetbrains ides is currently in public beta and is subject to change about forwarded ports port forwarding gives you access to tcp ports running within your codespace for example if you re running a web application on a particular port in your codespace you can forward that port this allows you to access the application from the browser on your local machine for testing and debugging when an application running inside a codespace prints output to the terminal that contains a localhost url such as http localhost port or http 127 0 0 1 port the port is automatically forwarded if you re using github codespaces in the browser or in visual studio code the url string in the terminal is converted into a link that you can click to view the web page on your local machine by default github codespaces forwards ports using http you can also forward a port manually label forwarded ports share forwarded ports with members of your organization share forwarded ports publicly and add forwarded ports to the codespace configuration note organization owners can restrict the ability to make forward ports available publicly or within the organization for more information see restricting the visibility of forwarded ports forwarding a port you can manually forward a port that wasn t forwarded automatically in your codespace under the text editor click ports under the list of ports click add port type the port number or address then press enter using https forwarding by default github codespaces forwards ports using http but you can update any port to use https as needed if you update a port with public visibility to use https the port s visibility will automatically change to private in your codespace under the text editor click ports right click the port you want to update then hover over change port protocol select the protocol needed for this port the protocol that you select will be remembered for this port for the lifetime of the codespace sharing a port note you can only make a port private to an organization if your organization uses github team or github enterprise cloud if you want to share a forwarded port with others you can either make the port private to your organization or make the port public after you make a port private to your organization anyone in the organization with the port s url can view the running application after you make a port public anyone who knows the url and port number can view the running application without needing to authenticate note your choice of port visibility options may be limited by a policy configured for your organization for more information see restricting the visibility of forwarded ports in your codespace under the text editor click ports right click the port that you want to share select the port visibility menu then click private to organization or public to the right of the local address for the port click the copy icon send the copied url to the person you want to share the port with labeling a port when you open a codespace in the browser or in the vs code desktop application you can label a forwarded port to make it easier to identify in a list in your codespace under the text editor click ports hover over the port you want to label then click the label icon type a label for your port then press enter adding a port to the codespace configuration you can add a forwarded port to the github codespaces configuration for the repository so the port will automatically be forwarded for all codespaces created from the repository after you update the configuration any previously created codespaces must be rebuilt for the change to apply for more information see introduction to dev containers you can manually configure forwarded ports in a devcontainer json file using the forwardports property or you can use the ports panel in a codespace that you ve opened in the browser or the vs code desktop application in your codespace under the text editor click ports right click the port you want to add to the codespace configuration then click set label and update devcontainer json type a label for your port then press enter when an application running inside a codespace prints output to the terminal that contains a localhost url such as http localhost port or http 127 0 0 1 port the port is automatically forwarded if you re using github codespaces in the browser or in visual studio code the url string in the terminal is converted into a link that you can click to view the web page on your local machine by default github codespaces forwards ports using http you can also forward a port manually label forwarded ports share forwarded ports with members of your organization share forwarded ports publicly and add forwarded ports to the codespace configuration note organization owners can restrict the ability to make forward ports available publicly or within the organization for more information see restricting the visibility of forwarded ports forwarding a port you can manually forward a port that wasn t forwarded automatically in your codespace under the text editor click ports under the list of ports click add port type the port number or address then press enter sharing a port note you can only make a port private to an organization if your organization uses github team or github enterprise cloud if you want to share a forwarded port with others you can either make the port private to your organization or make the port public after you make a port private to your organization anyone in the organization with the port s url can view the running application after you make a port public anyone who knows the url and port number can view the running application without needing to authenticate note your choice of port visibility options may be limited by a policy configured for your organization for more information see restricting the visibility of forwarded ports in your codespace under the text editor click ports right click the port that you want to share select the port visibility menu then click private to organization or public to the right of the local address for the port click the copy icon send the copied url to the person you want to share the port with labeling a port when you open a codespace in the browser or in the vs code desktop application you can label a forwarded port to make it easier to identify in a list in your codespace under the text editor click ports hover over the port you want to label then click the label icon type a label for your port then press enter adding a port to the codespace configuration you can add a forwarded port to the github codespaces configuration for the repository so the port will automatically be forwarded for all codespaces created from the repository after you update the configuration any previously created codespaces must be rebuilt for the change to apply for more information see introduction to dev containers you can manually configure forwarded ports in a devcontainer json file using the forwardports property or you can use the ports panel in a codespace that you ve opened in the browser or the vs code desktop application in your codespace under the text editor click ports right click the port you want to add to the codespace configuration then click set label and update devcontainer json type a label for your port then press enter to learn more about github cli see about github cli to forward a port use the gh codespace ports forward subcommand replace codespace port local port with the remote and local ports that you want to connect after entering the command choose from the list of codespaces that s displayed gh codespace ports forward codespace port local port for more information about this command see the github cli manual to see details of forwarded ports enter gh codespace ports and then choose a codespace sharing a port note you can only make a port private to an organization if your organization uses github team or github enterprise cloud if you want to share a forwarded port with others you can either make the port private to your organization or make the port public after you make a port private to your organization anyone in the organization with the port s url can view the running application after you make a port public anyone who knows the url and port number can view the running application without needing to authenticate note your choice of port visibility options may be limited by a policy configured for your organization for more information see restricting the visibility of forwarded ports to change the visibility of a forwarded port use the gh codespace ports visibility subcommand there are three visibility settings private visible only to you this is the default setting when you forward a port org visible to members of the organization that owns the repository public visible to anyone who knows the url and port number replace codespace port with the forwarded port number replace setting with private org or public after entering the command choose from the list of codespaces that s displayed gh codespace ports visibility codespace port settings you can set the visibility for multiple ports with one command for example gh codespace ports visibility 80 private 3000 public 3306 org for more information about this command see the github cli manual labeling a port when you open a codespace in the browser or in the vs code desktop application you can label a forwarded port to make it easier to identify in a list in your codespace under the text editor click ports hover over the port you want to label then click the label icon type a label for your port then press enter you can see the port labels when you list the forwarded ports for a codespace to do this use the gh codespace ports command and then select a codespace adding a port to the codespace configuration you can add a forwarded port to the github codespaces configuration for the repository so the port will automatically be forwarded for all codespaces created from the repository after you update the configuration any previously created codespaces must be rebuilt for the change to apply for more information see introduction to dev containers you can manually configure forwarded ports in a devcontainer json file using the forwardports property or you can use the ports panel in a codespace that you ve opened in the browser or the vs code desktop application in your codespace under the text editor click ports right click the port you want to add to the codespace configuration then click set label and update devcontainer json type a label for your port then press enter forwarding a port for information on how to forward a port in a codespace to a port on your local machine see the port forwarding section of the security model article in the jetbrains documentation alternatively you can use github cli to forward a port for more information click the github cli tab at the top of this page did this doc help you privacy policy help us make these docs great all github docs are open source see something that s wrong or unclear submit a pull request make a contribution or learn how to contribute still need help provide github feedback contact support 2022 github inc terms privacy security status help contact github pricing developer api training blog about
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)
  • loading

Verified site has: 138 subpage(s). Do you want to verify them? Verify pages:

1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50
51-55 56-60 61-65 66-70 71-75 76-80 81-85 86-90 91-95 96-100
101-105 106-110 111-115 116-120 121-125 126-130 131-135 136-138


The site also has references to the 2 subdomain(s)

  archive.org  Verify   help.archive.org  Verify


Top 50 hastags from of all verified websites.

Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

Header

HTTP/1.1 302 FOUND
Server nginx
Date Mon, 28 Sep 2026 12:49:49 GMT
Content-Type text/plain; charset=utf-8
Content-Length 0
Connection close
x-archive-redirect-reason found capture at 20221208233829
location htt???/web.archive.org/web/20221208233829/htt????/docs.github.com/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace
server-timing captures_list;dur=0.462531, exclusion.robots;dur=0.063390, exclusion.robots.policy;dur=0.055058, esindex;dur=0.006768, cdx.remote;dur=7.760018, LoadShardBlock;dur=139.604221, PetaboxLoader3.datanode;dur=78.471192
x-app-server wwwb-app204-dc6
x-ts 302
x-tr 165
server-timing TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie wb-p-SERVER=wwwb-app204; path=/
X-location All
X-AS 16276
X-RL 0
X-NA 0
X-Page-Cache MISS
Server-Timing MISS
X-NID OVH SAS
Referrer-Policy no-referrer-when-downgrade
Permissions-Policy interest-cohort=()
X-sd 0
HTTP/1.1 200 OK
Server nginx
Date Mon, 28 Sep 2026 12:49:51 GMT
Content-Type text/html; charset=utf-8
Transfer-Encoding chunked
Connection close
x-archive-orig-connection keep-alive
x-archive-orig-x-crawler-content-length 25404
x-archive-orig-content-length 233691
x-archive-orig-cache-control public, max-age=60
x-archive-orig-access-control-allow-origin *
x-archive-orig-content-security-policy default-src none ;prefetch-src self ;connect-src self ;font-src self data: githubdocs.azureedge.net;img-src self github.com *.github.com *.githubusercontent.com *.githubassets.com data: githubdocs.azureedge.net placehold.it;object-src self ;script-src self data: githubdocs.azureedge.net;frame-src self github.com *.github.com *.githubusercontent.com *.githubassets.com htt????/www.youtube-nocookie.com;frame-ancestors self github.com *.github.com *.githubusercontent.com *.githubassets.com;style-src self unsafe-inline data: githubdocs.azureedge.net;child-src self ;upgrade-insecure-requests;base-uri self ;form-action self ;script-src-attr none
x-archive-orig-cross-origin-opener-policy same-origin
x-archive-orig-cross-origin-resource-policy same-origin
x-archive-orig-x-dns-prefetch-control off
x-archive-orig-x-frame-options SAMEORIGIN
x-archive-orig-x-download-options noopen
x-archive-orig-x-content-type-options nosniff
x-archive-orig-origin-agent-cluster ?1
x-archive-orig-x-permitted-cross-domain-policies none
x-archive-orig-referrer-policy strict-origin-when-cross-origin
x-archive-orig-x-xss-protection 0
x-archive-orig-x-powered-by Next.js
x-archive-orig-x-azure-ref 0eVGSYwAAAACN+vDFtP4VTLJGoQAo5czcTU5aMjIxMDYwNjExMDIxADU5NmQ3OGEyLWNhNWYtNDc5ZC1iY2RjLTA4MzU4MzMxNzRiMg==
x-archive-orig-x-crawler-content-encoding br
x-archive-orig-accept-ranges bytes
x-archive-orig-date Thu, 08 Dec 2022 23:38:29 GMT
x-archive-orig-via 1.1 varnish
x-archive-orig-age 9212
x-archive-orig-x-served-by cache-iad-kcgs7200174-IAD
x-archive-orig-x-cache CONFIG_NOCACHE, HIT
x-archive-orig-x-cache-hits 1
x-archive-orig-x-timer S1670542710.638531,VS0,VE1
x-archive-orig-vary Accept-Encoding
x-archive-orig-strict-transport-security max-age=31557600
x-archive-guessed-content-type text/html
x-archive-guessed-charset utf-8
memento-datetime Thu, 08 Dec 2022 23:38:29 GMT
link <htt????/docs.github.com/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace>; rel= original , <htt???/web.archive.org/web/timemap/link/htt????/docs.github.com/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace>; rel= timemap ; type= application/link-format , <htt???/web.archive.org/web/htt????/docs.github.com/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace>; rel= timegate , <htt???/web.archive.org/web/20210506101044/htt????/docs.github.com/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace>; rel= first memento ; datetime= Thu, 06 May 2021 10:10:44 GMT , <htt???/web.archive.org/web/20221110211140/htt????/docs.github.com/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace>; rel= prev memento ; datetime= Thu, 10 Nov 2022 21:11:40 GMT , <htt???/web.archive.org/web/20221208233829/htt????/docs.github.com/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace>; rel= memento ; datetime= Thu, 08 Dec 2022 23:38:29 GMT , <htt???/web.archive.org/web/20230131150420/htt????/docs.github.com/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace>; rel= next memento ; datetime= Tue, 31 Jan 2023 15:04:20 GMT , <htt???/web.archive.org/web/20260708085726/htt????/docs.github.com/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace>; rel= last memento ; datetime= Wed, 08 Jul 2026 08:57:26 GMT
content-security-policy default-src self unsafe-eval unsafe-inline data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src CC-MAIN-2022-49-1669446711368.1-0043/CC-MAIN-20221208215156-20221209005156-00876.warc.gz
server-timing captures_list;dur=0.635080, exclusion.robots;dur=0.078416, exclusion.robots.policy;dur=0.065079, esindex;dur=0.012089, cdx.remote;dur=20.246529, LoadShardBlock;dur=1448.923831, PetaboxLoader3.datanode;dur=1322.604629, load_resource;dur=103.812365, PetaboxLoader3.resolve;dur=48.738662, nav;dur=0.133391
x-app-server wwwb-app262-dc8
x-ts 200
x-tr 1681
server-timing TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie wb-p-SERVER=wwwb-app262; path=/
X-location All
X-AS 16276
X-RL 0
X-NA 0
X-Page-Cache MISS
Server-Timing MISS
X-NID OVH SAS
Referrer-Policy no-referrer-when-downgrade
Permissions-Policy interest-cohort=()
X-sd 0
Content-Encoding gzip

Meta Tags

title="Forwarding ports in your codespace - GitHub Docs"
charset="utf-8"
name="viewport" content="width=device-width, initial-scale=1"
name="google-site-verification" content="c1kuD-K2HIVF635lypcsWPoD4kilo5-jA_wBFyT4uMY"
name="description" content="You can forward ports in your codespace to test and debug your application. You can also manage the port protocol and share the port within your organization or publicly."
name="keywords" content="Codespaces,Fundamentals,Developer"
name="path-language" content="en"
name="path-version" content="free-pro-team@latest"
name="path-product" content="codespaces"
name="path-article" content="codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace"
name="page-type" content="how_to"
name="page-document-type" content="article"
name="status" content="200"
property="og:site_name" content="GitHub Docs"
property="og:title" content="Forwarding ports in your codespace - GitHub Docs"
property="og:type" content="article"
property="og:url" content="htt???/web.archive.org/web/20221208233829/htt????/ghdocs-prod.azurewebsites.net/en/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace"
property="og:image" content="htt???/web.archive.org/web/20221208233829im_/htt????/github.githubassets.com/images/modules/open_graph/github-logo.png"
name="next-head-count" content="29"

Load Info

page size42252
load time (s)2.953755
redirect count1
speed download14308
server IP 207.241.237.3
* all occurrences of the string "http://" have been changed to "htt???/"