How to Install Bonjour on Windows for Device Discovery

Local network clipboard synchronization (Nearby Sync) allows you to copy and paste text and images instantly between devices without relying on internet connections. On Windows, the underlying device discovery can be provided by the Bonjour service.

INFO

Recent versions of the Octoclip Windows client (since v1.9.5, February 2026) discover nearby devices through a built-in system API, so Bonjour is no longer required for most users. This guide is for users on older versions, or in environments where you'd rather rely on the dedicated Bonjour service for discovery. If Nearby Sync already works for you, you can skip it.

On macOS, iOS, and iPadOS, Bonjour is pre-installed out of the box. If you do need it on Windows, this guide shows you how to install and verify it.


What Is Bonjour?

Bonjour is a zero-configuration network service developed by Apple. It enables devices on a local area network (LAN) to automatically locate and broadcast services to each other without manual configuration of IP addresses or DNS.

Octoclip relies on Bonjour to broadcast its presence and dynamically discover your other nearby devices (e.g., your iPhone or Mac) on the local network for Nearby Sync.

When Do I Need to Install It Separately on Windows?

Windows does not come pre-loaded with Bonjour components. On older Octoclip versions that depend on Bonjour for discovery, if it is not installed on your Windows PC:

  • The Octoclip client on Windows cannot broadcast itself to the network.
  • Nearby devices (like iPhones or Macs) may fail to discover your Windows PC.
  • Local network sync may not work, leaving Cloud Sync as the alternative.

On current versions, the built-in discovery API usually handles this without Bonjour — install it only if Nearby Sync isn't finding your Windows PC.


Installation Methods

You can install Bonjour on Windows using either the command line (recommended) or by downloading the installer package.

Windows 10 and 11 include a built-in package manager called WinGet. You can install the official Bonjour package in seconds:

  1. Click the Start Menu and type cmd or PowerShell.
  2. Right-click Command Prompt (or terminal) and select Run as Administrator.
  3. Type the following command and press Enter:
winget install --id=Apple.Bonjour -e
  1. Wait for the download to finish. The service will be installed and started automatically in the background.

Verifying the Bonjour Service Status

To ensure Bonjour is running correctly on your Windows PC:

  1. Press Win + R on your keyboard, type services.msc, and press Enter.
  2. Scroll down the list of services to locate Bonjour Service.
  3. Check the Status column:
    • It should say Running.
    • The Startup Type should be set to Automatic.
  4. If it is not running, right-click Bonjour Service and select Start.

Once verified, launch Octoclip. Your Windows PC should now discover and be discovered by nearby devices on the same Wi-Fi.


Frequently Asked Questions

Is Bonjour safe to run?

Bonjour is an official network discovery service developed by Apple. It advertises and discovers services only on your local network, not the public internet, and does not open inbound ports to the outside world. As with any system service, keep it updated through Windows/Apple updates.

Does Nearby Sync work across different Wi-Fi bands?

Yes, as long as your router allows communication between the 2.4 GHz and 5 GHz bands. Some routers have a feature called "AP Isolation" or "Client Isolation" enabled; ensure this feature is disabled in your router settings to allow local sync to work.

Do I need Bonjour if I only use Cloud Sync?

No. If you sync your clipboard history exclusively via WebDAV or S3 Cloud Sync, Bonjour is not required since connection is handled over the internet.


Troubleshooting

Bonjour is installed but devices still cannot find each other?

  1. Check Windows Firewall: Ensure that the Bonjour service (mDNSResponder.exe) is allowed to communicate through the Windows Defender Firewall.
  2. Network Profile: Ensure your active Windows network profile is set to Private. Local device discovery is blocked on Public networks for security reasons.
  3. VPN Active? Active VPNs or proxy client software can route your local traffic through virtual interfaces, breaking local network discoveries. Disable VPNs temporarily to test connection.

Still Encountering Issues?

If your Windows client still fails to pair with other devices after installing Bonjour, contact us at support@octoclip.app or join the discussion in our Community Forum. Please share:

  • Your Windows version (e.g., Windows 11 23H2)
  • Your router model (if local discovery seems blocked)
  • Octoclip client version

如何在 Windows 上安装 Bonjour 服务以实现设备发现

附近同步(Nearby Sync)允许你在不同设备之间即时复制和粘贴文本与图片,而无需依赖互联网连接。在 Windows 上,底层的设备发现可以由 Bonjour 服务来提供。

INFO

较新版本的章鱼速贴 Windows 客户端(自 v1.9.5、2026 年 2 月起)通过系统内置 API 发现附近设备,因此大多数用户不再需要安装 Bonjour。本指南面向仍在使用旧版本的用户,或希望依赖独立 Bonjour 服务来完成设备发现的环境。如果你的附近同步已经正常工作,可以直接跳过本文。

在 macOS、iOS、iPadOS 上,Bonjour 是系统默认内置的。如果你确实需要在 Windows 上用到它,本指南会介绍如何安装与验证。


什么是 Bonjour 服务?

Bonjour 是由 Apple 开发的零配置网络服务协议。它允许局域网(LAN)内的设备自动发现彼此并广播服务,而无需手动配置 IP 地址或 DNS。

章鱼速贴依赖 Bonjour 服务在局域网内广播并自动发现你附近的其他设备(例如你的 iPhone 或 Mac),以便进行附近同步。

Windows 用户什么时候需要额外安装?

Windows 系统默认不包含 Bonjour 组件。在依赖 Bonjour 完成发现的旧版本上,如果你的 Windows 电脑没有安装它:

  • 你的 Windows 客户端可能无法在局域网中广播自己的存在。
  • 附近的其他设备(如 iPhone 或 Mac)可能搜索不到你的 Windows 电脑。
  • 附近同步可能无法启用,只能改用云同步服务(Cloud Sync)。

在当前版本上,系统内置的发现 API 通常无需 Bonjour 即可工作——只有当附近同步搜索不到你的 Windows 电脑时,才需要安装它。


安装方法

你可以通过命令行安装(推荐,最快捷)或下载官方安装包手动安装。

Windows 10 和 11 内置了官方包管理器 WinGet。你只需一行命令即可在数秒内安装官方 Bonjour 软件包:

  1. 点击 开始菜单,搜索 cmdPowerShell
  2. 右键选择 命令提示符(或终端),点击 以管理员身份运行
  3. 输入以下命令并按 回车
winget install --id=Apple.Bonjour -e
  1. 等待下载并安装完成。系统会在后台自动安装并启动 Bonjour 服务。

验证 Bonjour 服务状态

要确保 Bonjour 服务已在你的 Windows 电脑上正常运行,请执行以下操作:

  1. 按下键盘上的 Win + R 键,输入 services.msc 并按 回车 打开系统服务管理器。
  2. 在服务列表中向下滚动,找到 Bonjour Service
  3. 检查其 状态 列:
    • 状态应显示为 正在运行
    • 启动类型 应设置为 自动
  4. 如果服务未运行,右键点击 Bonjour Service,然后选择 启动

确认运行后,重新打开章鱼速贴。现在,你的 Windows 电脑应该能顺利搜索到处于同一 Wi-Fi 网络下的其他设备了。


常见问题 FAQ

运行 Bonjour 服务安全吗?

Bonjour 是 Apple 官方开发的网络发现协议,它只在局域网内部通告与发现服务,不涉及公网,也不会对外开放入站端口。和任何系统服务一样,建议通过 Windows/Apple 的更新保持它为最新版本。

附近同步支持跨 Wi-Fi 频段吗?

支持,只要你的路由器允许 2.4 GHz 和 5 GHz 频段之间的设备相互通信。请注意,部分路由器开启了“AP 隔离”或“客户端隔离”(Client Isolation)功能;请确保在路由器后台中禁用此功能,否则局域网内的设备将无法通信。

如果我只用云同步,还需要安装 Bonjour 吗?

不需要。如果你完全通过 WebDAV 或 S3 云存储进行同步,数据传输和配对都是通过互联网进行的,因此无需在 Windows 上安装 Bonjour 服务。


故障排查

安装了 Bonjour 但设备依然无法相互发现?

  1. 检查 Windows 防火墙:确保允许 Bonjour 服务进程(mDNSResponder.exe)通过 Windows Defender 防火墙进行入站和出站通信。
  2. 网络配置文件类型:确保你当前的网络配置被设置为 专用网络(Private Network)。出于安全考虑,Windows 会在 公用网络 下拦截所有局域网设备广播。
  3. 是否开启了 VPN? 很多 VPN 客户端在启用时会修改系统路由表或使用虚拟网卡,从而阻断局域网内的广播发现。在配对时,请尝试暂时关闭 VPN 客户端进行测试。

仍有疑问?

如果在安装 Bonjour 后你的 Windows 设备仍无法与其它平台进行局域网配对,请随时通过 support@octoclip.app 联系我们,或者加入我们的 社区交流群。请附带:

  • 你的具体 Windows 系统版本(如 Win11 23H2)
  • 你的路由器型号(如果怀疑局域网广播被隔离)
  • 客户端的具体版本号