jetty’s default port is 8080, and it’s easy to modify the port number. First enter In the installation directory of the jetty server, you will see the start.ini configuration file. Here is the configuration loaded when jetty starts, including the modules to be loaded, the timeout configuration, and the port number here.
first execute vim start.ini Open the configuration file and find jetty.http.port This configuration item is a comment and 8080 by default. Now remove the comment and modify it to a custom port number, such as
jetty.http.port=8888 span>
After modifying, save and exit, and then restart jetty to take effect
In addition, using nginx as a front-end server proxy jetty and proxy tomcat configuration are the same
Original address: http://www.cnblog s.com/freeweb/p/5943034.html