Currently we start Theia on 3000 port by default, but that port is often used by some applications. For example nodejs http server uses 3000 port by default.
The proposal is to start Theia on some less popular port.
+1000 to this :-)
Nice!
ok but we are not supposed to run other apps in the theia container so to me this is really not something critical IMHO.
@sunix network is shared across containers
so if you spawn a nodejs app in for example foo container with port 3000 as well, it will collide with the process running inside theia container
https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
what are proposals so for the new 2 ports number ?
What about 3100 and 3130 ?
i suggest 74314
Edit: port range ... 0 to 65535
Let's reverse it: 41347
hosted: 41342 ( last 2 is a 't' upside down)
FYI Che uses the following ports for its services in workspaces:
4403 - Ws Agent 4411 - Terminal4412 - Exec Agent @sunix the maximum port number is 65535, but note, that ports above 32768 (at least for linux) are ephemeral and it is not so good idea to use them.
How are we progressing on this one? That should be an easy fix. Can we get it done asap?
Done
Most helpful comment
@sunix the maximum port number is 65535, but note, that ports above 32768 (at least for linux) are ephemeral and it is not so good idea to use them.