Start process with listen port 8000 error. #384

Closed
opened 2026-01-29 16:38:11 +00:00 by claunia · 11 comments
Owner

Originally created by @MiyamuraMiyako on GitHub (Sep 15, 2019).

Originally assigned to: @GregorBiswanger on GitHub.

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)

Originally created by @MiyamuraMiyako on GitHub (Sep 15, 2019). Originally assigned to: @GregorBiswanger on GitHub. <!-- Please search existing issues to avoid creating duplicates. --> <!-- Which version of Electron.NET CLI and API are you using? --> 5.22.14 <!-- Which version of .NET Core and Node.js are you using (if applicable)? --> .Net Core3.0 Preview9 <!-- What target are you building for? --> amd64/windows10 <!-- Enter your issue details below this comment. --> 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)
claunia added the bug label 2026-01-29 16:38:11 +00:00
Author
Owner

@netpoetica commented on GitHub (Oct 8, 2019):

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

@netpoetica commented on GitHub (Oct 8, 2019): 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
Author
Owner

@thecodejedi commented on GitHub (Nov 2, 2019):

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

@thecodejedi commented on GitHub (Nov 2, 2019): 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
Author
Owner

@thecodejedi commented on GitHub (Nov 2, 2019):

#334 pull request for this suggestion

@thecodejedi commented on GitHub (Nov 2, 2019): #334 pull request for this suggestion
Author
Owner

@Pichl0r commented on GitHub (Nov 7, 2019):

The same issue is occuring for me with version 5.30.1

@Pichl0r commented on GitHub (Nov 7, 2019): The same issue is occuring for me with version 5.30.1
Author
Owner

@GregorBiswanger commented on GitHub (Nov 27, 2019):

Fixed with Electron.NET Version 7.30.2

@GregorBiswanger commented on GitHub (Nov 27, 2019): Fixed with Electron.NET Version 7.30.2
Author
Owner

@azraelrabbit commented on GitHub (Dec 8, 2019):

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

issue-electronnet

@azraelrabbit commented on GitHub (Dec 8, 2019): i'm useing ElectronNET.CLI 7.30.2 , but the same error still exist. ![issue-electronnet](https://user-images.githubusercontent.com/553991/70382144-d7d16c80-1991-11ea-8e89-59346c3a9a86.jpg)
Author
Owner

@azraelrabbit commented on GitHub (Dec 9, 2019):

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.

@azraelrabbit commented on GitHub (Dec 9, 2019): 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.
Author
Owner

@thecodejedi commented on GitHub (Dec 9, 2019):

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

On Mon, Dec 09, 2019 at 5:40am, 大桥 < notifications@github.com [notifications@github.com] > 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] .

@thecodejedi commented on GitHub (Dec 9, 2019): Maybe cmdine install version is different than the one referenced by the project? On Mon, Dec 09, 2019 at 5:40am, 大桥 < notifications@github.com [notifications@github.com] > 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] .
Author
Owner

@nazar322 commented on GitHub (Apr 16, 2024):

Same issue happens on 23.6.1
https://i.imgur.com/JmGPKOu.png
https://i.imgur.com/e3ATeQS.png

@nazar322 commented on GitHub (Apr 16, 2024): Same issue happens on 23.6.1 https://i.imgur.com/JmGPKOu.png https://i.imgur.com/e3ATeQS.png
Author
Owner

@nazar322 commented on GitHub (Apr 16, 2024):

How can I tell electron which port to use!?

@nazar322 commented on GitHub (Apr 16, 2024): How can I tell electron which port to use!?
Author
Owner

@nazar322 commented on GitHub (Apr 16, 2024):

"electronPort": 7777
Electron.NET needs a wiki on electron.manifest.json

@nazar322 commented on GitHub (Apr 16, 2024): `"electronPort": 7777` Electron.NET needs a wiki on `electron.manifest.json`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#384