keystone icon indicating copy to clipboard operation
keystone copied to clipboard

Address already in use

Open babakfp opened this issue 4 months ago • 4 comments

ncaughtException Error: listen EADDRINUSE: address already in use :::3000

it's 2025, you should do better than this!

babakfp avatar Aug 19 '25 10:08 babakfp

@babakfp what do you think should happen?

dcousens avatar Aug 19 '25 23:08 dcousens

it should just work. try a port, doesn't work, switch to another, try it, works. this is a normal thing that other tools do from a long time ago. there were tools that refused to implement, later they come to same concolusion. I wanted to try keystonejs, throw it away because of this stupid issue. when a tool can't do basic things right, i don't have high expectation that it's going to do complicated thigns right.

babakfp avatar Aug 21 '25 02:08 babakfp

there were tools that refused to implement, later they come to same conclusion

I am inclined to think this is poor behaviour, can you cite any examples and their reasoning? I don't want a tool to iterate ports, I have an intended port, it should only use that.

dcousens avatar Aug 23 '25 01:08 dcousens

I assume this discussion is only for keystone dev too, the requested behaviour would be a security issue otherwise.

dcousens avatar Aug 23 '25 01:08 dcousens