部署到服务器上报了sf4j的问题,看日志上启动起来了,但是用ip访问不了

[root@iZuf6bkj7jhbb4gjqb11r0Z logs]# tail -f catalina.out
18-Sep-2019 17:46:46.377 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/usr/local/tomcat/webapps/ROOT.war]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/logback-classic-1.1.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
18-Sep-2019 17:46:48.416 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/usr/local/tomcat/webapps/ROOT.war] has finished in [2,039] ms
18-Sep-2019 17:46:48.448 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
18-Sep-2019 17:46:48.457 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
18-Sep-2019 17:46:48.460 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [2,180] milliseconds

1个回答

那么服务器本身是否可以访问呢,curl 命令在服务器上访问下。可能是防火墙不允许外部访问。

niashdklah
niashdklah 之前用别的部署的都能正常访问,就这个有问题
10 个月之前 回复
niashdklah
niashdklah 没反应,请问还有别的处理方法吗?
10 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问