diff --git a/README.md b/README.md index 75ea1293..176cd714 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Gmqtt provides: * Enable user to write plugins. See `plugin.go` and `/plugin` for more details. * Provide abilities for extensions to interact with the server. See `Server` interface in `server.go` and `example_test.go` for more details. * Provide metrics (by using Prometheus). (plugin: [prometheus](https://github.com/DrmagicE/gmqtt/blob/master/plugin/prometheus/README.md)) -* Provide restful API to interact with server. (plugin:[management](https://github.com/DrmagicE/gmqtt/blob/master/plugin/prometheus/README.md)) +* Provide restful API to interact with server. (plugin:[management](https://github.com/DrmagicE/gmqtt/blob/master/plugin/management/README.md)) # Limitations * The retained messages are not persisted when the server exit. @@ -30,7 +30,7 @@ $ go run main.go ``` The broker will listen on port 1883 for TCP and 8080 for websocket. The broker loads the following plugins: - * [management](https://github.com/DrmagicE/gmqtt/blob/master/plugin/management/README.md): Listens on port `8001`, provides restful api service + * [management](https://github.com/DrmagicE/gmqtt/blob/master/plugin/management/README.md): Listens on port `8081`, provides restful api service * [prometheus](https://github.com/DrmagicE/gmqtt/blob/master/plugin/prometheus/README.md): Listens on port `8082`, serve as a prometheus exporter with `/metrics` path. diff --git a/README_ZH.md b/README_ZH.md index c78be42d..1175937b 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -27,7 +27,7 @@ ## 使用内置的MQTT服务器 下列命令将启动一个监听`1883`端口[tcp]和`8080`端口[websocket]的MQTT服务。 该broker加载了如下插件: - * [management](https://github.com/DrmagicE/gmqtt/blob/master/plugin/management/READEME.md): 监听`8001`端口, 提供restful api服务 + * [management](https://github.com/DrmagicE/gmqtt/blob/master/plugin/management/README.md): 监听`8081`端口, 提供restful api服务 * [prometheus](https://github.com/DrmagicE/gmqtt/blob/master/plugin/prometheus/README.md): 监听`8082`端口, 作为prometheus exporter供prometheus server采集,接口地址为: `/metrics` ```