So is the workaround for now to specify host explicitly? Is it possible to read it from the environment, like $IP?
EDIT: just verified that it doesn’t work. Specifying ****.c9users.io as host does not correspond to the Cloud9’s host IP, so it refuses to start.
EDIT2: appending the .c9users.io address to /etc/hosts for the private IP seemed to work. Not sure if this address will be stable though. Any comment from the team?
EDIT3: changing the private IP to 0.0.0.0 also seems to work. So the current solution seems to be specifying the c9.users.io hostname explicitly for the dev server, and also to add it to /etc/hosts with 0.0.0.0 target IP. Could that lead to any issues with routing from Cloud9 etc. down the road?
P.S. I’m using Angular with
ng serve instead of directly calling Webpack (if that matters).