Code Monkey home page Code Monkey logo

Comments (5)

bdbai avatar bdbai commented on August 22, 2024

Maple 是基于 VPN 平台运行的,需要连接上 VPN 才能工作。也许可以在配置没有启用 tun 的情况下,连接 VPN 但不添加路由?如果这个方案对你来说可以的话,后续可以添加支持。

from maple.

l-we avatar l-we commented on August 22, 2024

可以尝试一下,理论不添加路由相当于直连了,不知道会不会有其他影响,

from maple.

bdbai avatar bdbai commented on August 22, 2024

调了一通,发现 UWP 是没办法监听 loopback 地址的,启用 LoopbackExempt 也不可行。https://docs.microsoft.com/en-us/previous-versions/windows/apps/hh780593(v=win.10) 这里提到

Note Loopback is permitted only for development purposes. Usage by a Windows Runtime app installed outside of Visual Studio is not permitted. Further, a Windows Runtime app can use an IP loopback only as the target address for a client network request. So a Windows Runtime app that uses a DatagramSocket or StreamSocketListener to listen on an IP loopback address is prevented from receiving any incoming packets.

以及参考这个回答:
https://stackoverflow.com/a/50324363

from maple.

BestOwl avatar BestOwl commented on August 22, 2024

也许可以试试这个
https://docs.microsoft.com/en-us/windows/iot-core/develop-your-app/loopback

The localhost inbound loopback policy for Windows IoT Core must be enabled for UWP apps that implement servers. This policy is controlled by the following registry key:
[HKEY_LOCAL_MACHINE\system\currentcontrolset\services\mpssvc\parameters]
"IoTInboundLoopbackPolicy"=dword:00000001

不知道是否适用于桌面版的 Win10/11

from maple.

KexyBiscuit avatar KexyBiscuit commented on August 22, 2024

@BestOwl 我印象里是不能的

from maple.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.