Hello World Run Time Error


#1

I just wrote a simple code: Print “Hello World” and get the following error:

Your code is running at https://tutorials-cmackin.c9users.io.
Important: use os.getenv(PORT, 8080) as the port and os.getenv(IP, 0.0.0.0) as the host in your scripts!

Hello World

Process exited with code: 0

I don’t know where to go in C9 to change these settings.


#2

There is no error there. You created an app that prints “Hello World”, and you can see it did that. It then says “Process exited with code: 0”, which simply means your code finished executing successfully. If you’re referring to the PORT and IP information, that doesn’t matter because you’re not running an http server.