読者です 読者をやめる 読者になる 読者になる

by shigemk2

当面は技術的なことしか書かない

play runでポート指定する

Play

playframework - How do I change the default port (9000) that Play uses when I execute the "run" command? - Stack Overflow

Play 1.x

Change the http.port value in the conf/application.conf file or pass it command line:

play run --http.port=8080
Play 2.x - Dev Mode

For browser-reload mode:

play "run 8080"
For continuous-reload mode:

play "~run 8080"
Play 2.x - Prod Mode

Start in Prod mode:

play "start -Dhttp.port=8080"
Play 2.x - Staged Distribution

Create a staged distribution:

play stage