I come from a play 1.2.7 application and currently getting started with play framework 2.4.1 and scala. For a start I use the activator web ui to manage applications and the
Through the application.conf
in production:
play.server.http.port = 80
When you run the application with SBT:
PlayKeys.devSettings := Seq("play.server.http.port" -> "80")
Using run
command:
$ run 80
For more details please refer the below links:
documentation-Config File
documentation-Server configuration options