老师我的公网拒绝我访问项目怎么解决啊?
来源:10-2 项目打包发布与域名解析
星辰大海皆不得
2020-02-26
不是端口号的问题我设置了80 浏览器界面就消失 拒绝了我的连接请求
写回答
2回答
-
星辰大海皆不得
提问者
2020-02-27
老师 我初始化了一下 重新配置的 tomcat 启动失败 这是logs 里的catalina.out的报错信息 我在网上没有找到解决办法 27-Feb-2020 16:09:04.991 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"] 27-Feb-2020 16:09:04.991 SEVERE [main] org.apache.coyote.AbstractProtocol.destroy Failed to destroy end point associated with ProtocolHandler ["ajp-nio-8009"] java.lang.NullPointerException at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:315) at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:491) at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:896) at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:551) at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023) at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292) at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:589) at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292) at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:879) at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292) at org.apache.catalina.startup.Catalina.start(Catalina.java:634) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
012020-02-27 -
翔仔
2020-02-27
同学好,请问是否设置了安全组,并且你确保项目已经启动起来了没,tomcat进程是否存在,相关项目的war是否已经被解压、然后tomcat 根目录下的 logs/catalina.out 最新的地方有没有报错,得确保输出tomcat started at xxxx ms 才可以
00
相似问题