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
rest api server running fail #1661
Comments
The mqtt:api port defaults to You could change the configuration and restart the emq for now, I'll look at the
|
I don't know what you want. The listener for rest api would be started after emqttd starting unless the 8080 port has been occupied by other application. If you want to to change the rest api port, change it in If you want to change listen port of rest api when emqttd is running, it is a new feature for us |
@terry-xiaoyu I don't think this is bug. It looks like @wormcc 's problem. Maybe he needs a new feature. But I assume that it is not a good idea to change rest api listener's port when emqttd has been started. |
@gilbert-wong Thanks for the reply, i have changed the default port 8080 to 8099 in the emq.conf, then i restarted the broker, but the rest api server did not run, and the 8099 port wasn't occupied by other application either. |
Execute |
I don't know what you want exactly, but emqttd_ctl listeners could close listeners by specifying port like this |
Environment
Description
the listener for the rest api not running, but when i use the command
emqttd_ctl listeners start mqtt:api 8099
, it showedFailed to restart mqtt:api listener on 8099, error:not_found
, 8099 is the port for the api server in the config file.How should i start the server? Thx
The text was updated successfully, but these errors were encountered: