I’m trying to setup a new ionic project in Cloud9. I’m able to run terminal commands to create new projects, add plugins, etc…
When I try to serve the ionic app (using the terminal command “ionic serve”), I receive a message saying the app is running at this address:
This is, of course, expected. But when I access this address in Cloud9 browser, nothing happens.
After some research I found that Cloud9 has some limitations when setting up web servers. For example, for nodejs servers, we can’t assign an arbitrary port to the server. Instead, we should use process.env.PORT and 0.0.0.0 as the server address. Since ionic creates a local server to serve the app, I believe this limitation might apply as well.