8883 -> 8083

This commit is contained in:
Ery Lee 2015-01-18 16:36:34 +08:00
parent 3ae463960f
commit 2e3f0bda11
1 changed files with 5 additions and 4 deletions

View File

@ -52,7 +52,7 @@ cd $INSTALL_DIR/emqtt
{max_conns, 1024}, {max_conns, 1024},
{acceptor_pool, 4} {acceptor_pool, 4}
]}, ]},
{http, 8883, [ {http, 8083, [
{max_conns, 512}, {max_conns, 512},
{acceptor_pool, 1} {acceptor_pool, 1}
]} ]}
@ -65,7 +65,7 @@ cd $INSTALL_DIR/emqtt
``` ```
-sname emqtt -name emqtt@127.0.0.1
-setcookie emqtt -setcookie emqtt
@ -124,13 +124,13 @@ eMQTT support http to publish message.
Example: Example:
``` ```
curl -v --basic -u user:passwd -d "qos=1&retain=0&topic=/a/b/c&message=hello from http..." -k http://localhost:8883/mqtt/publish curl -v --basic -u user:passwd -d "qos=1&retain=0&topic=/a/b/c&message=hello from http..." -k http://localhost:8083/mqtt/publish
``` ```
### URL ### URL
``` ```
HTTP POST http://host:8883/mqtt/publish HTTP POST http://host:8083/mqtt/publish
``` ```
### Parameters ### Parameters
@ -157,5 +157,6 @@ feng at emqtt.io
## Thanks ## Thanks
@hejin1026 (260495915 at qq.com) @hejin1026 (260495915 at qq.com)
@desoulter (assoulter123 at gmail.com) @desoulter (assoulter123 at gmail.com)