1
0
mirror of synced 2026-01-03 06:04:16 -05:00
Files
docs/data/reusables/codespaces/find-address-and-token.md
2023-02-23 16:05:00 +00:00

732 B

Finding the address to connect to

  1. Open the terminal in your codespace.

  2. Click the PORTS tab. This lists all of the ports you have forwarded.

  3. Right-click the port you want to connect to and click Copy Local Address.

    Screenshot of the pop-up menu for a forwarded port with the "Copy Local Address" option highlighted with an orange outline.

  4. Paste the copied address somewhere for later use.

Finding the GITHUB_TOKEN

  1. In the terminal in your codespace, enter echo $GITHUB_TOKEN.

    The token is a string beginning ghu_.

  2. Copy the token.

    {% note %}

    Important: Don't share this access token with anyone.

    {% endnote %}