Jetty WTP Plugin/Jetty WTP Modify Port
From Eclipsepedia
Changing a Jetty Server Port
- To modify the Jetty server port, open the Jetty v7.0 Server at localhost, The Ports section is on the Overview tab (right panel).
- Either double click the port, or use the content menu. In the Port Number field, replace the current port number, 8080, with the new port number, in this example, 8081.
- In the main Eclipse toolbar, click File -> Save. You have changed the port.
- To view the change, go to jetty.xml, where you see:
<Call name="addConnector"> <Arg> <New class="org.eclipse.jetty.server.nio.SelectChannelConnector"> <Set name="host"><SystemProperty name="jetty.host"/></Set> <Set name="port">8081</Set> ... </New> </Arg> </Call>