Electron.net: Start process with listen port 8000 error.

Created on 15 Sep 2019  Â·  8Comments  Â·  Source: ElectronNET/Electron.NET


5.22.14


.Net Core3.0 Preview9


amd64/windows10


Just simple init project, start it will be throw exception.

Uncaught Exception:
Error: listen EACCES: permission denied 127.0.0.1:8000
at Server.setupListenHandle [as _listen2] (net.js:1216:19)
at listenInCluster (net.js:1281:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1420:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:63:10)

bug

All 8 comments

This issue should be resolved, maybe you are using an older version? It was initially reported here: https://github.com/ElectronNET/Electron.NET/issues/261

And later solved here: https://github.com/ElectronNET/Electron.NET/pull/262

Can you verify that you have these changes? https://github.com/ElectronNET/Electron.NET/pull/262/files

I also have this problem but also using 5.22.14 already. I would propose to go for a different solution by limiting the port range

334 pull request for this suggestion

The same issue is occuring for me with version 5.30.1

Fixed with Electron.NET Version 7.30.2

i'm useing ElectronNET.CLI 7.30.2 , but the same error still exist.

issue-electronnet

update,
i found that my problem just on debugging use visual studio 2019 16.4.0 ,
when i typed electronize start in cmd.exe without visual studio ,that works fine.

Maybe cmdine install version is different than the one referenced by the project?

On Mon, Dec 09, 2019 at 5:40am, 大桥 < [email protected] [[email protected]] > wrote:
update,
i found that my problem just on debugging use visual studio 2019 16.4.0 ,
when i typed electronize start in cmd.exe without visual studio ,that works fine.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [https://github.com/ElectronNET/Electron.NET/issues/308?email_source=notifications&email_token=AAJLLPFIG2BGUKUEHKGEBDTQXXD3BA5CNFSM4IW2IMP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGHZX2A#issuecomment-563059688] , or unsubscribe [https://github.com/notifications/unsubscribe-auth/AAJLLPE4HNRZ6NMV74I5BJDQXXD3BANCNFSM4IW2IMPQ] .

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Marcelh1983 picture Marcelh1983  Â·  5Comments

ThuCommix picture ThuCommix  Â·  3Comments

seanmars picture seanmars  Â·  5Comments

saad749 picture saad749  Â·  6Comments

cdespinosaagmx picture cdespinosaagmx  Â·  3Comments