---
title: "github.com 是什麼？阻擋後會有什麼影響 · Kilobat"
url: "https://kilobat.app/zh-hant/hosts/github-com"
description: "github.com 是 GitHub 透過 HTTPS 和 SSH 提供 Git 服務及網站的主要主機。它的用途，以及阻擋後會有什麼影響。"
---

# github.com 是什麼？

`github.com` 是 GitHub 的主要主機。GitHub 將它列為 Actions runner 基本運作所需的主機。

由 GitHub 營運 · 連接埠：TCP 443、80 和 22 · 查核於 2026年11月7日

## 簡短回答

GitHub 的主要主機。Git 的 clone 和 push、網站與登入都會用到它，GitHub 的 runner 和外掛程式工具也將它列為必要主機。

謹慎阻擋

阻擋它會讓 GitHub 儲存庫的 Git 操作和網站無法使用。如果你使用 GitHub，請允許它。

符合

`github.com`

帶有 `*.` 的名稱涵蓋它之下的每個名稱：`*.push.apple.com` 符合 `1-courier.push.apple.com`。

## 它提供什麼

GitHub 的 runner 頁面在「基本運作所需」下列出 `github.com` 和 `api.github.com`。該主機必須能透過連接埠 443 連出 HTTPS 連線。

GitHub 的 IP 位址頁面指出，為了讓應用程式正常運作，你必須允許 `github.com` 使用 TCP 連接埠 22、80 和 443。連接埠 22 供 SSH 使用。

Claude Code 的網路頁面將 `github.com` 列為透過 HTTPS 或 SSH 複製 GitHub 代管的外掛程式市集和外掛程式時使用的主機。

相關的 GitHub 主機各有專屬頁面：[`api.github.com`](https://kilobat.app/zh-hant/hosts/api-github-com)、[`codeload.github.com`](https://kilobat.app/zh-hant/hosts/codeload-github-com) 和 [`ghcr.io`](https://kilobat.app/zh-hant/hosts/ghcr-io)。

## 使用它的處理程序

- [GitHub Desktop](https://kilobat.app/zh-hant/processes/github-desktop): GitHub Desktop App。你在 pull、push、clone 和 fork 時，它會透過 HTTPS 連到 GitHub，並下載自己的更新。

## 阻擋它會壞掉什麼

謹慎阻擋

阻擋它會讓 GitHub 儲存庫的 Git 操作和網站無法使用。如果你使用 GitHub，請允許它。

阻擋它會壞掉什麼

- 透過 HTTPS 或 SSH 的 git clone、fetch 和 push 會失敗。
- GitHub 網站和登入無法載入。
- 從 GitHub 複製的工具（例如外掛程式安裝程式）會失敗。

有了 Kilobat Pro 和網路過濾器，你可以對所有 App 或某一個 App 阻擋某個主機：在「連線」中選取一個連線並選擇「阻擋」。Kilobat 的[防護](https://kilobat.app/zh-hant/docs/blocking#protection)清單絕不會阻擋 Apple 自己的服務。

## 備註

GitHub 表示不建議依 IP 位址來允許，因為它的位址會不定時變動。它透過 Meta API 發布位址範圍，網址為 `api.github.com/meta`。

## 資料來源

- [GitHub 說明文件：自行代管的 runner，通訊需求](https://docs.github.com/en/actions/reference/runners/self-hosted-runners)
- [GitHub 說明文件：關於 GitHub 的 IP 位址](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-githubs-ip-addresses)
- [Claude Code 說明文件：網路設定](https://code.claude.com/docs/en/network-config)

查核日期：2026 年 11 月 7 日。

## 相關

- [api.github.com](https://kilobat.app/zh-hant/hosts/api-github-com): GitHub REST API 端點。App 和指令碼會向它傳送帶有權杖和 User-Agent 標頭的已驗證請求。
- [codeload.github.com](https://kilobat.app/zh-hant/hosts/codeload-github-com): GitHub 的 runner 說明文件中列出、用於下載 action 的 GitHub 主機。
- [ghcr.io](https://kilobat.app/zh-hant/hosts/ghcr-io): GitHub Container registry 的位址。Docker 和類似的工具會從這裡拉取和推送映像檔。
