Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.39.2显示端口被占用 #7526

Closed
4 tasks done
Xmk114 opened this issue Nov 20, 2024 · 1 comment
Closed
4 tasks done

3.39.2显示端口被占用 #7526

Xmk114 opened this issue Nov 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Xmk114
Copy link

Xmk114 commented Nov 20, 2024

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

3.39.2

Driver used / 使用的存储驱动

无法启动

Describe the bug / 问题描述

FATA[2024-11-20 21:26:42] failed to start http: listen tcp 0.0.0.0:5244: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.

这是我的运行结果,我在127.0.0.1:5244输入账号密码时显示(利用alisthelper重新设置的密码)
image

无其他占用:
image

版本信息:Built At: 2024-11-17 15:17:05 +0000
Go Version: go1.22.4 linux/amd64
Author: Xhofe i@nn.ci
Commit ID: 0ba754f
Version: v3.39.4
WebVersion: 3.39.2

已查询过曾经的议题,但仍然无法解决:#6391

我尝试解决:
1.确认主机并没有其他程序监听5246端口
2.尝试更换过非5246的端口,依然无效
image

Reproduction / 复现链接

image

Config / 配置

},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
}

Logs / 日志

C:\Users\86139\AppData\Roaming\dev.xmarmalade.alisthelper\alisthelper\bin>alist server
INFO[2024-11-20 21:29:56] reading config file: data\config.json
INFO[2024-11-20 21:29:56] load config from env with prefix: ALIST_
INFO[2024-11-20 21:29:56] init logrus...
WARN[2024-11-20 21:29:56] init tool qBittorrent failed: Post "http://localhost:8080/api/v2/auth/login": dial tcp 127.0.0.1:8080: connectex: No connection could be made because the target machine actively refused it.
WARN[2024-11-20 21:29:56] init tool transmission failed: failed get transmission version: can't get session values: 'session-get' rpc method failed: failed to execute HTTP request: Post "http://localhost:9091/transmission/rpc": dial tcp 127.0.0.1:9091: connectex: No connection could be made because the target machine actively refused it.
INFO[2024-11-20 21:29:56] init tool 115 Cloud success: ok
WARN[2024-11-20 21:29:56] init tool aria2 failed: failed get aria2 version: Post "http://localhost:6800/jsonrpc": dial tcp 127.0.0.1:6800: connectex: No connection could be made because the target machine actively refused it.
INFO[2024-11-20 21:29:56] init tool SimpleHttp success: ok
INFO[2024-11-20 21:29:56] init tool pikpak success: ok
INFO[2024-11-20 21:29:56] start HTTP server @ 0.0.0.0:5244
FATA[2024-11-20 21:29:56] failed to start http: listen tcp 0.0.0.0:5244: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
@Xmk114 Xmk114 added the bug Something isn't working label Nov 20, 2024
@Xmk114 Xmk114 closed this as completed Nov 20, 2024
@Xmk114
Copy link
Author

Xmk114 commented Nov 20, 2024

找到原因了,我只修改了一处的端口

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant