Search code examples
cloud9-ide

Get hostname of your workspace


Is there a way to get the public hostname of the workspace node for a Cloud9 workspace from the environment?


Solution

  • When you execute the export command in the console, you can see the defined environment variables.

    The variable you are looking for is "C9_HOSTNAME".