# Advanced network checks English · [简体中文](./network.zh-CN.md) · [Troubleshooting](./troubleshooting.md) Start with the [basic connection checks](./troubleshooting.md#common-problems). If you still cannot connect, choose what matches: - **The same invite works in another browser:** [browser restrictions](#browser-webrtc-restrictions). - **The same invite works on a hotspot:** [connection options](#campus-networks-and-strict-nat). - **Friends in another location cannot reach your local invitation:** [connect through a virtual LAN](#optional-a-virtual-lan). - **Logs mention STUN, or you manage the router:** [discovery and router checks](#stun-ipv6-and-router-checks). If a [public-invitation page will not open](./troubleshooting.md#public-invitation-fails-or-shows-1033) or [video plays but blurs or stutters](./troubleshooting.md#picture-blurs-stutters-or-stops), follow that symptom instead. Web pages and chat use a separate connection from picture and sound: ![The Host and friend access the site for web and chat; picture and sound use a separate direct or forwarded media connection.](../assets/guide/network-paths.en.svg) ## Campus networks and strict NAT **Try opening the same invitation on a phone hotspot.** If you can watch there, keep using the hotspot or ask the person who manages your usual network for help. For regular use, choose an option that fits your group: - **You have a Piik site:** ask its operator to [forward picture and sound](../operations/self-hosting.md#optional-media-fallback). The Host turns off **Privacy mode** so forwarding can be tried if direct connections fail. For App capture, [approve the new site](./getting-started.md#use-app-with-an-existing-site), then send its invitation. - **No usable forwarding site, and direct media still will not connect:** a [virtual LAN](#optional-a-virtual-lan) offers another path. Everyone joins the same virtual network, then uses the App's **Local room**. - **The required connections are blocked:** use an available network or ask its administrator to review access.
For site administrators · Media forwarding **Media requires UDP.** `demo.piik.tv` and App **Public invite** use P2P-only media. SFU forwarding requires a site with that feature enabled and a reachable UDP endpoint.
## Browser WebRTC restrictions Browser WebRTC settings, VPNs and privacy extensions can block media UDP, including the browser-to-App connection on the same computer. 1. Open the same invitation in a browser profile with default settings and no relevant privacy extensions. 2. If it works, check **WebRTC** or **IP-leak protection** in the original browser and restore a policy that allows WebRTC UDP. 3. Reload Piik and retry sharing or viewing. School/company-managed settings need an administrator's review.
Chrome / Vivaldi settings `disable_non_proxied_udp` restricts UDP that does not use a proxy. Compare with the browser default. Chrome extensions may control this policy without a visible browser switch. Vivaldi provides **Settings → Privacy and Security → WebRTC IP Handling → Broadcast IP for Best WebRTC Performance**. Direct connections can expose network addresses to peers. Change the setting that blocks UDP, keeping other privacy settings as needed. See [Chrome's policy reference](https://developer.chrome.com/docs/extensions/reference/api/privacy#property-network) and [Vivaldi's privacy settings](https://help.vivaldi.com/desktop/privacy/privacy-settings/).
## STUN, IPv6 and router checks These checks are for App users reading logs and people who manage a site or router. Only change the parts you manage.
STUN discovery and settings STUN discovers the addresses devices can use to connect. App Public invite tries several services; if discovery fails, replace the built-in addresses with [`PIIK_STUN_URLS`](../standards/configuration.md#piik-app-configuration) before starting Public invite. Site operators should check that `STUN_URLS` points to reachable UDP services; an HTTP reverse proxy does not forward STUN. Choose trusted services: they receive participants' public IP addresses. The [WebRTC connection guide](https://webrtc.org/getting-started/peer-connections) explains discovery.
Check IPv6 connectivity When the provider, router and both devices have usable IPv6, Piik can try it alongside IPv4. Keep IPv4 enabled too; IPv6 still obeys firewall rules. Router menus vary; consult your manufacturer's [IPv6 guidance](https://support.google.com/googlehome/answer/6361450).
Router mappings and shared addresses Supported UPnP, PCP or NAT-PMP can let App's native media path request port mappings; browser-only capture does not request them. If both modem and router perform NAT, your model's bridge/AP-mode instructions may remove a layer. Back up settings first. Carrier-grade NAT is upstream; ask your provider about public IPv4 or IPv6. See manufacturer guidance on [UPnP](https://support.google.com/googlehome/answer/6274337) and [double NAT](https://www.tp-link.com/us/support/faq/3113/).
## Optional: a virtual LAN If friends elsewhere cannot reach your local invitation, or direct media still will not connect after the basic checks, try a virtual LAN. It connects your devices so you can use Piik App's **Local room** instead of the public-invite path. The tool must provide reachable virtual IPv4 addresses and carry both web traffic and WebRTC UDP; acceleration limited to one game does not suffice. Choose a tool available to everyone in your group: - **[Tailscale](https://tailscale.com/docs/how-to/quickstart):** install it on each device and invite friends to the same private network (*tailnet*). In Piik, select the Host's Tailscale IPv4 address (`100.x.y.z`). - **[ZeroTier](https://docs.zerotier.com/quickstart/):** join the same network ID on each device, then authorize those devices in its management console. In Piik, select the Host's assigned virtual IPv4 address. - **[UU (Chinese guide)](https://uu.163.com/blog/lan-multiplayer-guide-net.html):** use the general-purpose LAN option and join the same room. In Piik, select the Host's UU virtual IPv4 address. ![Virtual LAN in three steps: join the same virtual network, choose its address in Local room, then send the complete invitation and confirm the certificate.](../assets/guide/virtual-lan.en.svg) 1. **Join the same network.** The Host and friends run the tool and join the same virtual LAN. 2. **Host selects its address.** In the updated Piik App, choose **Local room**, expand **Local invitation address**, select the tool's virtual IP, then enter the room and share. 3. **Send the complete invitation.** Friends open the HTTPS invitation on that virtual IP. On first access, [confirm the local certificate](./troubleshooting.md#local-https-certificate-warning) with the Host before entering. Do not send `localhost` or only a room code. 4. **Check picture and sound.** Everyone keeps the networking tool running; the Host also keeps Piik App running. If the virtual IP changes, the Host selects the new address and sends a new invitation. If something fails, start with the first failing step: - **Page will not open:** check [local invitations and firewall permissions](./troubleshooting.md#local-invitation-will-not-open) for that virtual network. - **Page opens, media will not connect:** check that the tool carries media UDP and review [browser WebRTC settings](#browser-webrtc-restrictions). - **Microphone or remote control is unavailable:** use the App-generated HTTPS invitation, confirm its certificate, then check [browser permissions](./troubleshooting.md#microphone-or-remote-controls-are-unavailable). Supporting browsers can use these features without a public tunnel, just as on an ordinary LAN. Join only with trusted friends. To give an App or Server a fixed public invitation address, use a managed or self-hosted tunnel. [frp and SakuraFrp guide](./frp.md) If the issue persists, [collect reports](./troubleshooting.md#reporting-a-problem) from the same attempt.