_mjYZL 发表于 2024-8-29 13:21:20

部署后网页一直在加载 求助


用的8080端口,20020,20030,20040,20050端口也都开放了。网页能访问,但是一直是这个状态,中间图标一直在加载,不知道什么原因,求大神帮助:'(

_mjYZL 发表于 2024-8-29 13:25:04

>>> server directory:/data/o2server
>>> version:9.1.3
>>> java:11.0.23
>>> os:Linux
>>> nodeAgent port:20010, encrypt:true
help                                 show usage message.
start|stop                      start stop all enable server.
start|stop data                        start stop data server.
start|stop storage                     start stop storage server.
start|stop center                      start stop center server.
start|stop application               start stop application server.
start|stop web                         start stop web server.
start init                           start init server then start all enable server.
setPassword (oldpasswd) (newpasswd)    change initial manager password.
version                              display version.
exit                                 exit after stop all enable server.
ctl -<argument> option               system control command, no argument display help.

2024-08-29 13:10:31.044 INFO com.x.server.console.server.init.InitServerTools - deploy war:/data/o2server/x_program_init.war.
2024-08-29 13:10:33.125 ERROR com.x.server.console.command.StartCommand - id:5688793a-6308-4f3d-b0f8-c7c51644543e, 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:72) ~
      at org.eclipse.jetty.server.Server.doStart(Server.java:401) ~
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~
      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:80) ~
      at com.x.server.console.command.StartCommand.lambda$static$0(StartCommand.java:36) ~
      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
      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:345) ~
      ... 13 more
****************************************
* data server start completed.
* port: 20050.
****************************************
****************************************
* storage server start completed.
* port: 20040.
****************************************
2024-08-29 13:10:34.190 ERROR com.x.server.console.command.StartCommand - id:209fcadb-b8b5-4253-8eb1-0c95b3155d91, 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:72) ~
      at org.eclipse.jetty.server.Server.doStart(Server.java:401) ~
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~
      at com.x.server.console.server.application.ApplicationServerTools.createServer(ApplicationServerTools.java:129) ~
      at com.x.server.console.server.application.ApplicationServerTools.start(ApplicationServerTools.java:74) ~
      at com.x.server.console.server.Servers.startApplicationServer(Servers.java:140) ~
      at com.x.server.console.command.StartCommand.startApplicationServer(StartCommand.java:94) ~
      at com.x.server.console.command.StartCommand.startAll(StartCommand.java:139) ~
      at com.x.server.console.command.StartCommand.lambda$static$0(StartCommand.java:52) ~
      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
      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:345) ~
      ... 14 more
****************************************
* web server start completed.
* port: 8080.
****************************************


这是服务启动的信息

论坛管理员 发表于 2024-8-30 11:16:17

检查一下node.json的配置,看起来还有地方用80端口
页: [1]
查看完整版本: 部署后网页一直在加载 求助