Question: In IntelliJ 13.0.2 Ultimate I've set up a web application module using Jetty 9.1.4.

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.

There is a setting for the port in the IntelliJ run configuration but it only appears when configuring a "remote" server.

I've tried adding my own .mod file to the Jetty Server Settings containing the following but it seems to be ignored.

```
[ini-template]
jetty.port=8100

```

One of the answers in [this post](https://stackoverflow.com/questions/15654476/how-can-i-start-jetty-from-intellij-on-windows) says the port is 8080 unless you change it, but he doesn't say how to change it.

Can someone point me in the right direction? Thanks!

Answer: 
IntelliJ support says the port should be edited in start.ini file (in the root directory of Jetty installation), so it seems it is not possible to set it in IntelliJ.

The other alternative of course is to embed Jetty as a library in a standard java application instead of creating a web application based on Jetty.
Edit the start.ini file inside the JETTY\_HOME folder, uncomment and change the jetty.http.port line

Below is an example changing it to port 8078

```
## Connector port to listen on
jetty.http.port=8078

```