Someone uses Play Framework on Cloud9?

java

#1

I’m trying to use activator ui to generate the application, however when I run it on the port 8080 (the unique that works) it does nothing!

activator -Dhttp.port=8080 ui

Someone got it working?


#2

use $PORT as the ports are dynamically assigned.


#3

$PORT is an environment variable that is always set to 8080 so these two are mostly interchangeable. You’ll also want to make sure you’re running it on 0.0.0.0, or $IP. I’m not sure how to do that with Play though :confused: