Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start process with listen port 8000 error. #308

Closed
MiyamuraMiyako opened this issue Sep 15, 2019 · 11 comments
Closed

Start process with listen port 8000 error. #308

MiyamuraMiyako opened this issue Sep 15, 2019 · 11 comments
Assignees
Labels
Milestone

Comments

@MiyamuraMiyako
Copy link

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)

@netpoetica
Copy link

This issue should be resolved, maybe you are using an older version? It was initially reported here: #261

And later solved here: #262

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

@thecodejedi
Copy link

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
Copy link

#334 pull request for this suggestion

@Pichl0r
Copy link

Pichl0r commented Nov 7, 2019

The same issue is occuring for me with version 5.30.1

GregorBiswanger added a commit that referenced this issue Nov 27, 2019
#308 - Start process with listen port 8000 error.
@GregorBiswanger GregorBiswanger self-assigned this Nov 27, 2019
@GregorBiswanger GregorBiswanger added this to the 7.30.2 milestone Nov 27, 2019
@GregorBiswanger
Copy link
Member

Fixed with Electron.NET Version 7.30.2

@azraelrabbit
Copy link

azraelrabbit commented Dec 8, 2019

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

issue-electronnet

@azraelrabbit
Copy link

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.

@thecodejedi
Copy link

thecodejedi commented Dec 9, 2019 via email

@nazar322
Copy link

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

@nazar322
Copy link

How can I tell electron which port to use!?

@nazar322
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants