传输守护程序 Web 界面

发布于 2024-12-28 10:11:57 字数 2521 浏览 1 评论 0原文

我在远程服务器上设置了传输守护进程。 但我无法让 RPC(Web 界面)工作。

//Ubuntu 服务器 10.04.3 LTS

这是我的配置

/var/lib/transmission-daemon/info/settings.json

{
    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": false,
    "dht-enabled": true,
    "download-dir": "/home/***/torrents/shared/",
    "download-limit": 100,
    "download-limit-enabled": 0,
    "encryption": 1,
    "incomplete-dir": "/home/***/torrents/incomplete/",
    "incomplete-dir-enabled": true,
    "lazy-bitfield-enabled": true,
    "max-peers-global": 200,
    "message-level": 2,
    "open-file-limit": 32,
    "peer-limit-global": 240,
    "peer-limit-per-torrent": 60,
    "peer-port": 51000,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "peer-socket-tos": 0,
    "pex-enabled": true,
    "port-forwarding-enabled": false,
    "preallocation": 1,
    "proxy": "",
    "proxy-auth-enabled": false,
    "proxy-auth-password": "",
    "proxy-auth-username": "",
    "proxy-enabled": false,
    "proxy-port": 80,
    "proxy-type": 0,
    "ratio-limit": 2.0000,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": false,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "",
    "rpc-port": 9091,
    "rpc-username": "",
    "rpc-whitelist": "",
    "rpc-whitelist-enabled": false,
    "speed-limit-down": 100,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 100,
    "speed-limit-up-enabled": false,
    "umask": 18,
    "upload-limit": 100,
    "upload-limit-enabled": 0,
    "upload-slots-per-torrent": 14,
    "watch-dir": "/home/***/torrents/job/",
    "watch-dir-enabled": true
}

我尝试设置用户名,密码,将我的IP添加到白名单,将 *.*.*.* 设置为白名单, 切换启用白名单的参数,但

*IP*:9091
or
*IP*:9090/transmission/web/

无法连接 Firefox 无法与服务器建立连接 IP:9091。

这是netstat -antup | grep 9091

tcp 0 0 0.0.0.0:9091 0.0.0.0:* 监听 9158/transmission-d

和 iptables -L

接受 tcp -- 任何地方 tcp dpt:9091

我在 80 端口上有 apache2,它运行良好(也许是干扰) 谢谢。

I'm set up transmission-daemon on my remote server.
But I can't to make RPC (web interface) work.

//Ubuntu server 10.04.3 LTS

Here is my config

/var/lib/transmission-daemon/info/settings.json

{
    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": false,
    "dht-enabled": true,
    "download-dir": "/home/***/torrents/shared/",
    "download-limit": 100,
    "download-limit-enabled": 0,
    "encryption": 1,
    "incomplete-dir": "/home/***/torrents/incomplete/",
    "incomplete-dir-enabled": true,
    "lazy-bitfield-enabled": true,
    "max-peers-global": 200,
    "message-level": 2,
    "open-file-limit": 32,
    "peer-limit-global": 240,
    "peer-limit-per-torrent": 60,
    "peer-port": 51000,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "peer-socket-tos": 0,
    "pex-enabled": true,
    "port-forwarding-enabled": false,
    "preallocation": 1,
    "proxy": "",
    "proxy-auth-enabled": false,
    "proxy-auth-password": "",
    "proxy-auth-username": "",
    "proxy-enabled": false,
    "proxy-port": 80,
    "proxy-type": 0,
    "ratio-limit": 2.0000,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": false,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "",
    "rpc-port": 9091,
    "rpc-username": "",
    "rpc-whitelist": "",
    "rpc-whitelist-enabled": false,
    "speed-limit-down": 100,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 100,
    "speed-limit-up-enabled": false,
    "umask": 18,
    "upload-limit": 100,
    "upload-limit-enabled": 0,
    "upload-slots-per-torrent": 14,
    "watch-dir": "/home/***/torrents/job/",
    "watch-dir-enabled": true
}

I tried setting username, password, add my ip to whitelist, set *.*.*.* to whitelist,
toggle whitelist-enabled parameter, but on

*IP*:9091
or
*IP*:9090/transmission/web/

there is

Unable to connect Firefox can't establish a connection to the server
at IP:9091.

Here is netstat -antup | grep 9091

tcp 0 0 0.0.0.0:9091 0.0.0.0:* LISTEN 9158/transmission-d

and iptables -L

ACCEPT tcp -- anywhere anywhere tcp dpt:9091

I have apache2 on 80 port and it's works good (maybe it's interfere)
Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

撧情箌佬 2025-01-04 10:11:57

远程服务器上有DMZ。关闭

There was DMZ on remote server. Closed

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文