user1007522
user1007522

Reputation: 8118

Change plays default port doesn't work

When I'm on my mac I can start the server like this

activator start -Dhttp.port=9090

Now when I do this on the windows 2012 server I get that the command isn't valid.

How can I change the default port on Windows then?

Upvotes: 0

Views: 46

Answers (1)

biesior
biesior

Reputation: 55798

This should do the trick:

play '-Dhttp.port=9090' 'start 9090'

or

activator '-Dhttp.port=9090' 'start 9090'

at least that was working some time ago, see this answer

The behavior varies on exact Play version, anyway you need to test several versions (always with quotes) so finally you'll find the solution, unfortunately I haven't any Win machine to check latest Play now.

Upvotes: 1

Related Questions