版主大人 我用
aria2c --enable-rpc=true来启动rpc
提示
[ERROR] IPv4 RPC: failed to bind TCP port 6800
Exception: [SocketCore.cc:292] errorCode=1 Failed to bind a socket, cause: Address already in use
aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all
with 'JSON-RPC PATH' like http://hostname:port/jsonrpc
2. Recommend: Set --rpc-secret=<secret> if you are using aria2 1.18.4(or higher) with 'JSON-RPC PATH' like http://token:secret@hostname:port/jsonrpc
Set --rpc-user=<username> --rpc-passwd=<passwd> if you are using aria2 1.15.2(or higher) with 'JSON-RPC PATH' like http://username:passwd@hostname:port/jsonrpc
Visit index.html.
3.Change "JSON-RPC Path" setting if "Internal server error" occurred.