[dubbo]使用telnet访问dubbo服务时出现异常

Xy718 1,023 2022-06-21

使用telnet访问dubbo接口出现

Command: ls disabled for security reasons, please enable support by listing the commands through 'telnet'

image.png

需要在dubbo provider中配置:

dubbo.provider.telnet = ls,ps,cd,pwd,trace,count,invoke,select,status,log,help,clear,exit,shutdown

ls,ps,cd,pwd,trace,count,invoke,select,status,log,help,clear,exit,shutdown为需要启用的telnet指令,按需添加即可

image.png


冶心·练体·得技