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: 
You can change the Jetty port in the file start.d/http.ini, e.g.

```
## HTTP port to listen on
jetty.port=8180

```
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

```