I'm executing the following command line:
java -jar C:\WorkArea\jetty-runner.jar c:\name.war --port 9090
I'm expecting it to run on port 9090 but it keeps on running using port 8080 which is the default. What am I missing? When running through eclipse itself, it is using 8888 so it's not taking this info from there, where/how else can I control the port? Thanks
Jetty Runner的文档建议在WAR文件之前传递端口选项:
java -jar C:\WorkArea\jetty-runner.jar --port 9090 c:\name.war
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.