I want to start a websocket server, but can't connect to it from other machines. Only when I start the websocket server with root permissions it works. So this seems to be an permission Problem.
Which permissions does my user need to open a socket?
Usually, root access is needed to open ports under 1024, which covers most of the well known services such as web (80), ssh (22), ftp (21) etc.
Some daemons can be configured to listen on other ports above port 1024 which might let you use them with non-root permissions, but it varies on a product by product basis.
There are other work arounds as well, such as using