Skip to content

Instantly share code, notes, and snippets.

@FGRibreau
Created November 29, 2013 16:35
Show Gist options
  • Save FGRibreau/7708384 to your computer and use it in GitHub Desktop.
Save FGRibreau/7708384 to your computer and use it in GitHub Desktop.
How to change Play framework default development port once and for all
import sbt._
import Keys._
import play.Project._
object ApplicationBuild extends Build {
System.setProperty("http.port", "9001")
// this setting can be overriden with `play "run 9002"`
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment