开发者社区> 问答> 正文

不知道这算不算Bug。?报错

@wenshao 你好,想跟你请教个问题:

版本:druid-0.2.13.jar

问题描述:

    访问:http://localhost:8080/base/druid/index.html 报错

Mar 28, 2013 12:18:03 AM org.apache.catalina.core.ApplicationContext log
SEVERE: Unhandled exception occurred whilst decorating page
java.lang.IllegalArgumentException: Invalid IP Address [0:0:0:0:0:0:0:1]
	at com.alibaba.druid.support.http.util.IPAddress.parseIPAddress(IPAddress.java:248)
	at com.alibaba.druid.support.http.util.IPAddress.<init>(IPAddress.java:122)
	at com.alibaba.druid.support.http.StatViewServlet.isPermittedRequest(StatViewServlet.java:162)
	at com.alibaba.druid.support.http.StatViewServlet.isPermittedRequest(StatViewServlet.java:150)
	at com.alibaba.druid.support.http.StatViewServlet.service(StatViewServlet.java:197)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Thread.java:662)
用: http://127.0.0.1:8080/base/druid/index.html 可以正常打开监控页面。

展开
收起
爱吃鱼的程序员 2020-06-22 20:58:28 577 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    配置了IP地址过滤,估计就不能用localhost了吧,也算是考虑不足的问题吧你host文件怎么配的这个是ip_v6的问题,你是macos吧<aclass='referer'target='_blank'>@wenshao不是macos是windows.刚看了一下host.

    <imgsrc="http://static.oschina.net/uploads/space/2013/0328/110129_XUxu_259408.png"alt=""/>

    下面这条【::1】是装PostgreSQL的时候,它添加的。不过不影响我本地localhost访问网站。

    2020-06-22 20:58:46
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
美团 crash 监控分析系统优化之路:crash 率从千分位到万分位 立即下载
代码未写,漏洞已出——谈谈设计不当导致的安全问题 立即下载
Android插件化-从入门到"放弃" 立即下载

相关实验场景

更多