Skip to content

A full-featured download manager.

fix: there is no localhost rule in /etc/hosts

Dr_rOotcf082b20d8ce
diff --git a/src/renderer/api/Api.js b/src/renderer/api/Api.js
index 40c8a8ea..9e1fd779 100644
--- a/src/renderer/api/Api.js
+++ b/src/renderer/api/Api.js
@@ -57,7 +57,9 @@ export default class Api {
rpcListenPort: port,
rpcSecret: secret
} = this.config
+ const host = '127.0.0.1'
this.client = new Aria2({
+ host,
port,
secret
})