深圳公司做年报网站,手机免费资源下载网站模板,wordpress qq登入设置,百度竞价查询简介#xff1a; druid 连接池监控报错 Sorry, you are not permitted to view this page.
使用Druid连接池的时候#xff0c;遇到一个奇怪的问题#xff0c;在本地#xff08;localhost#xff09;可以直接打开Druid连接池监控#xff0c;在其他机器上打开会报错#…简介 druid 连接池监控报错 Sorry, you are not permitted to view this page.
使用Druid连接池的时候遇到一个奇怪的问题在本地localhost可以直接打开Druid连接池监控在其他机器上打开会报错 Sorry, you are not permitted to view this page
解决
在druid wiki上有如下描述 判断规则 deny优先于allow如果在deny列表中就算在allow列表中也会被拒绝。如果allow没有配置或者为空则允许所有访问 添加如下配置 spring.datasource.druid.stat-view-servlet.allow