问题
How do I get Windows 10 or its firewall to allow my Delphi 10.2 tethering app to get access to the internet?
When either the desktop or the mobile app is run on Windows 10, there is no request for permission from the firewall and tethering fails.
In contrast, the Delphi mobile Photowall tethering example runs fine on Android and iPad, tethering with the matching desktop application on Windows 7 and MacOS. On Windows 7 and Macintosh, the firewall asks for permission when the app is run.
回答1:
The Windows 10 machine in question automatically installed McAfee internet. I uninstalled McAfee and the Delphi tethering apps immediately triggered Firewall exception request and then worked properly.
Even though I added the Delphi tethering apps to the Windows firewall exception list, McAfee apparently still blocked the apps. The Delphi apps never raised an error when blocked.
来源:https://stackoverflow.com/questions/47166086/delphi-apps-wont-tether-on-windows-10