Dhttp.port doesn't work
Specifying port doesn't work in Play Framework 2.0.
To reproduce follow this steps:
1) create new application using $ play new foo
2) go to the directory created by play $ cd foo
3) launch the play console $ play
4) start application with specified port $ start -Dhttp.port=1234
(Starting server. Type Ctrl+D to exit logs, the server will remain in background )
Play server process ID is 4868
[info] play - Application started (Prod) [info] play - Listening for HTTP on port 9000...
Server started on 9000 port, not 1234.
Comments and changes to this ticket
I know about the possibility of specifying the port without Dhttp.port. But in this case i can't specify http.address together with the port, as it is written in the documentation. https://github.com/playframework/Play20/wiki/ProductionConfiguration
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »