"internetClientServer" and "privateNetworkClientServer" don’t work on Xbox.

Author: ikas-mcCreated Aug 7, 2025Updated Sep 15, 2026
Labelsbug

Which sample are you reporting a bug in?

Example: StreamSocket

Describe the bug "internetClientServer" and "privateNetworkClientServer" don’t work on Xbox.

To Reproduce Steps to reproduce the behavior:

  1. build StreamSocket and install on xbox dev
  2. open all and listen on port 22112 (xbox ip: 192.168.20.5)
  3. telnet to xbox ,telnet 192.168.20.5 22112

Expected behavior connected to 92.168.20.5:22112 "internetClientServer" and "privateNetworkClientServer" work on Xbox and can connect 22112 from other device on the same local network

Screenshots 1: Image 2: Image

Configuration

  • Language/architecture/flavor: c# x64 Debug
  • Windows platform and build number: 10.0.26100.4857 (xb_flt_2506ge.250702-1500)

Additional context as shown in the screenshot(1,2), listening, connecting, sending, and receiving data are all normal. but on another PC, it can't connect.

Image

visit Xbox Device Portal is ok

Image

Deployed on a PC and everything works

Source: microsoft/Windows-universal-samples