mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Unexpected firewall warnings #229
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @torman119 on GitHub (Nov 9, 2018).
Originally assigned to: @robertmuehsig, @GregorBiswanger on GitHub.
When we start the final electron app we get 2 firewall warnings popping up (running on windows 10).
For instance when building and running the Electron.Net sample music player, we get a firewall warning for "ElectronNET.Host" and one for "myelectronmusicplayer.exe".
Does anybody know why we get these warnings? Why do we get 2 of them? How can we avoid them for our users?
@ctrl-d commented on GitHub (Dec 5, 2018):
Had same issue & stopped looking into it becouse of that
@RogerDodger123 commented on GitHub (Dec 5, 2018):
I have solved the firewall prompt when it comes to the api. This was done by just resetting the bind:
but the issue lies here:
5a676cb76a/ElectronNET.API/WebHostBuilderExtensions.cs (L34)The api is being bound to
0.0.0.0. Which is not good as this remotely exposes the API as is broadcast on all addresses.Not sure how to resolve the other prompt that is for the electron exe apposed to the api. Something must be getting bound to another non local address
@robertmuehsig commented on GitHub (Dec 28, 2018):
Mh - would " .UseUrls("http://localhost:" + BridgeSettings.WebPort);" trigger the same Firewall Warning? @RogerDodger123 ?
@robertmuehsig commented on GitHub (Jan 2, 2019):
This should be fixed in the next update.