diff --git a/src/onebot/network/http-server.ts b/src/onebot/network/http-server.ts index 6fe19e7f..7e8a13e6 100644 --- a/src/onebot/network/http-server.ts +++ b/src/onebot/network/http-server.ts @@ -87,7 +87,7 @@ export class OB11HttpServerAdapter extends IOB11NetworkAdapter this.app.use(async (req, res) => { await this.handleRequest(req, res); }); - this.server.listen(this.config.port, () => { + this.server.listen(this.config.port, this.config.host, () => { this.core.context.logger.log(`[OneBot] [HTTP Server Adapter] Start On Port ${this.config.port}`); }); }