Windows IoT Web 服务器不工作

Windows IoT Web Server Not Working

如果我完全按照 BlinkyWebServer 示例中的方式启动 Web 服务器,调试时一切似乎都正常工作(没有错误),但我无法访问 url在港口。我只是超时。我正在使用 Windows IoT 的 14295 版本和 Raspberry Pi 3.

自 build 14295 起 Windows IoT 添加了内部防火墙。打开一个端口:

  1. Connect to your device in powershell
  2. 打开防火墙:

    netsh advfirewall firewall add rule name=[Any name to identify rule] dir=in action=allow protocol=TCP localport=[Port number]