網路原理 • 區域網路

airplayx.local 與區域網路自動探索是如何運作的(零雲端)

深入了解 Bonjour mDNS、80/8080 連接埠自動切換與 iOS 本地網路權限。

3 min read Bonjour mDNS • Port 80/8080 iOS 16+ Local Wi-Fi
Hostname http://airplayx.local
Ports 80 (auto-fallback 8080)
iOS Permission Local Network Access
External Traffic 0 bytes
1

Embedded HTTP + WebSocket server starts on iPhone

The app binds to port 80 (or 8080 if occupied) on your iPhone’s Wi-Fi interface.

2

Bonjour advertises airplayx.local

mDNS broadcasts the friendly hostname http://airplayx.local alongside the QR code and numeric IP.

3

Your browser connects directly over LAN

All HTML5, WebSocket signaling, and WebRTC media packets stay inside your router’s local subnet.

開始前快速檢查

  • Ensure Local Network permission is enabled in iOS Settings.
  • If your corporate or hotel Wi-Fi blocks mDNS, use the numeric IP address shown in the app.

FAQ

Does airplayx.local work without internet access?

Yes! As long as your Wi-Fi router is powered on and both devices are connected, browser casting works even without internet access.

幾秒鐘內,把 iPhone 投上任何瀏覽器大螢幕。

立即免費下載體驗,電視、Mac、PC 瀏覽器打開就能看,免裝任何接收端 App。

前往 App Store 下載

延伸閱讀