少华 发表于 2026-4-8 07:22:39

安装部署报这个错误怎么办

2026-04-08 07:19:28.479 INFO com.x.server.console.server.init.InitServerTools - deploy war:C:\o2server-10.0-windows-x64\o2server\x_program_init.war.
2026-04-08 07:19:37.079 ERROR com.x.server.console.command.StartCommand - id:093e3bee-895f-4e33-9db4-7edf964ac41c, name:com.x.server.console.command.StartCommand, message:Failed to bind to 0.0.0.0/0.0.0.0:80, exception:java.io.IOException.
java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:80
      at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349) ~
      at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310) ~
      at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~
      at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) ~
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~
      at org.eclipse.jetty.server.Server.doStart(Server.java:401) ~
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~
      at com.x.server.console.server.init.InitServerTools.startStandalone(InitServerTools.java:83) ~
      at com.x.server.console.server.init.InitServerTools.start(InitServerTools.java:56) ~
      at com.x.server.console.server.Servers.startInitServer(Servers.java:124) ~
      at com.x.server.console.command.StartCommand.startInitServer(StartCommand.java:81) ~
      at com.x.server.console.command.StartCommand.lambda$static$0(StartCommand.java:37) ~
      at com.x.server.console.command.Commands.lambda$execute$2(Commands.java:38) ~
      at java.lang.Thread.run(Thread.java:834) ~[?:?]
Caused by: java.net.BindException: Address already in use: bind
      at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
      at sun.nio.ch.Net.bind(Net.java:459) ~[?:?]
      at sun.nio.ch.Net.bind(Net.java:448) ~[?:?]
      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) ~[?:?]
      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ~[?:?]
      at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~
      ... 13 more
****************************************
* data server start completed.
* port: 20050.
****************************************
****************************************
* storage server start completed.
* port: 20040.
****************************************
2026-04-08 07:19:38.681 INFO com.x.server.console.server.center.CenterServerTools - deploy war:C:\o2server-10.0-windows-x64\o2server\x_program_center.war.
2026-04-08 07:19:44.965 ERROR com.x.server.console.command.StartCommand - id:b5addd2c-19f1-4ac6-a72e-e6665f0c63c4, name:com.x.server.console.command.StartCommand, message:Failed to bind to 0.0.0.0/0.0.0.0:80, exception:java.io.IOException.
java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:80
      at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349) ~
      at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310) ~
      at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~
      at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) ~
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~
      at org.eclipse.jetty.server.Server.doStart(Server.java:401) ~
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) ~
      at com.x.server.console.server.application.ApplicationServerTools.createServer(ApplicationServerTools.java:135) ~
      at com.x.server.console.server.application.ApplicationServerTools.start(ApplicationServerTools.java:75) ~
      at com.x.server.console.server.Servers.startApplicationServer(Servers.java:140) ~
      at com.x.server.console.command.StartCommand.startApplicationServer(StartCommand.java:95) ~
      at com.x.server.console.command.StartCommand.startAll(StartCommand.java:140) ~
      at com.x.server.console.command.StartCommand.lambda$static$0(StartCommand.java:53) ~
      at com.x.server.console.command.Commands.lambda$execute$2(Commands.java:38) ~
      at java.lang.Thread.run(Thread.java:834) ~[?:?]
Caused by: java.net.BindException: Address already in use: bind
      at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
      at sun.nio.ch.Net.bind(Net.java:459) ~[?:?]
      at sun.nio.ch.Net.bind(Net.java:448) ~[?:?]
      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227) ~[?:?]
      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ~[?:?]
      at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~
      ... 14 more
2026-04-08 07:19:45.089 WARN com.x.server.console.server.web.WebServerTools - id:18bb6cc2-937e-4def-8a81-13b3c74e4749, name:com.x.server.console.server.web.WebServerTools, message:move the unofficial directory to webroot directory:C:\o2server-10.0-windows-x64\o2server\servers\webServer\x_component_PdfViewer.
2026-04-08 07:19:45.124 ERROR com.x.server.console.command.StartCommand - id:dbbbcb82-10cb-4a78-8c65-bfd796d17dd7, name:com.x.server.console.command.StartCommand, message:null, exception:java.lang.NullPointerException.
java.lang.NullPointerException: null
      at com.x.server.console.server.web.WebServerTools.startInApplication(WebServerTools.java:74) ~
      at com.x.server.console.server.web.WebServerTools.start(WebServerTools.java:65) ~
      at com.x.server.console.server.Servers.startWebServer(Servers.java:132) ~
      at com.x.server.console.command.StartCommand.startWebServer(StartCommand.java:111) ~
      at com.x.server.console.command.StartCommand.startAll(StartCommand.java:141) ~
      at com.x.server.console.command.StartCommand.lambda$static$0(StartCommand.java:53) ~
      at com.x.server.console.command.Commands.lambda$execute$2(Commands.java:38) ~
      at java.lang.Thread.run(Thread.java:834) ~[?:?]

xadmin 发表于 2026-4-8 13:20:20

80 端口被占用,换个端口试试
页: [1]
查看完整版本: 安装部署报这个错误怎么办