title: Intellij, run play framework app in a given port
body: <p>I have a Scala app with Play Framework.
  To run the app I can open a terminal, run <code>sbt</code> and then:</p>
  <p><code>run</code></p>
  <p>This will run the app on port 9000 (default port).
  If I want to run on a different port, let's say in port 9001 in <code>sbt</code> I can do:</p>
  <p><code>run 9001</code></p>
  <p>What if I want to do the same in Intellij?
  I can create a new <code>Configuration</code>, click on <code>sbt task</code> and in <code>Tasks:</code> enter <code>run</code>.
  This will run the app in port 9000.</p>
  <p>If instead of just <code>run</code> I put <code>run 9001</code> (like when running within <code>sbt</code>) the app keep using the port 9000.</p>
  <p>So my question is how can I start on a different port using <code>sbt task</code> in Configurations?</p>