Change Jetty default port

前端 未结 10 1250
野性不改
野性不改 2020-12-29 04:15

Jetty default port is 8080, but I want to change to default port to some other port (9999).

I read a few tutorials and they said almost all of configuration informa

10条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-29 05:03

    If you are using eclipse you need to set the run configurations. When you install jetty in eclipse, the default port for jetty is 8080.

    So you need to change it into an XML file. If the problem remains, you need to change it in eclipse run configurations.

    I hope it works, as it worked for me.

提交回复
热议问题