最近一直在折腾transmission-daemon的web访问的问题。原因是访问的时候出现
403: Forbidden Unauthorized IP Address. Either disable the IP address whitelist or add your address to it. If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries. If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details.
查了很多资料,发现我设置的是对的。。。其中包含如下配置
"rpc-authentication-required": false, "rpc-bind-address": "0.0.0.0", "rpc-enabled": true, "rpc-password": "", "rpc-port": 9091, "rpc-url": "/transmission/", "rpc-username": "", "rpc-whitelist": "192.168.1.*", "rpc-whitelist-enabled": true,
设置的应该是对的,还是连不上,提示不在白名单。看我的配置文件位置应该也对。
临时解决办法,使用命令行设置。。
transmission-daemon -a 192.168.1.*,问题解决
原因未知,做个笔记。。