play framework 起動時のポートを変更する方向

起動時にportを変更する方法

デフォルトは9000ポートが指定されていますが、ポート番号を変更したいときは起動に以下のコマンドを使う。
sbt "run -Dhttp.port=ポート番号"

httpを使用せずにhttpsだけを使いたい場合
sbt "run -Dhttps.port=ポート番号" -Dhttp.port=disabled