0
我想在端口9000上運行碼頭,我已經試過指定的命令行機制OBN許多網站,包括這一個,但碼頭似乎拒絕拿起端口選項碼頭不拾取端口選項
$ java -Djetty.port=9000 -jar start.jar etc/jetty.xml
2014-04-04 08:12:53.368:INFO:oejs.Server:main: jetty-9.1.1.v20140108
2014-04-04 08:12:53.379:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:/home/david/Jetty/jetty-distribution-9.1.1.v20140108/webapps/] at interval 1
2014-04-04 08:12:53.386:WARN:oejuc.AbstractLifeCycle:main: FAILED [email protected]{HTTP/1.1}{0.0.0.0:8080}: java.net.BindException: Address already in use
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
...
如何解決此問題並在端口9000上運行?