api-gateway icon indicating copy to clipboard operation
api-gateway copied to clipboard

improve 'port occupied' error message`

Open rrayst opened this issue 1 year ago • 2 comments

The error message

Membrane is configured to open port %d. But this port is alreay in
use by a different program.

can be confusing, as it is also printed when Membrane (the JVM process) is not allowed to open the port (e.g. when running as non-root).

(Solution might be setcap cap_net_bind_service+epi /path/to/java)

rrayst avatar Jul 04 '23 10:07 rrayst