title: In IntelliJ, how to set the server port in an internal jetty run configuration
body: <p>In IntelliJ 13.0.2 Ultimate I've set up a web application module using Jetty 9.1.4.</p>
  
  <p>I'd like to test my application on port 8100, but I can't figure out a way to change the port of my "Local" Jetty run configuration. It always seems to use the default port 8080.</p>
  
  <p>There is a setting for the port in the IntelliJ run configuration but it only appears when configuring a "remote" server.</p>
  
  <p>I've tried adding my own .mod file to the Jetty Server Settings containing the following but it seems to be ignored.</p>
  
  <pre><code>[ini-template]
  jetty.port=8100
  </code></pre>
  
  <p>One of the answers in <a href="https://stackoverflow.com/questions/15654476/how-can-i-start-jetty-from-intellij-on-windows">this post</a> says the port is 8080 unless you change it, but he doesn't say how to change it.</p>
  
  <p>Can someone point me in the right direction? Thanks!</p>