瀏覽代碼

change default port to 8883

0xdcarns 3 年之前
父節點
當前提交
cd17725a83
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      servercfg/serverconf.go

+ 1 - 1
servercfg/serverconf.go

@@ -580,7 +580,7 @@ func GetRce() bool {
 
 // GetMQServerPort - get mq port for server
 func GetMQServerPort() string {
-	port := "1883" //default
+	port := "8883" //default
 	if os.Getenv("MQ_SERVER_PORT") != "" {
 		port = os.Getenv("MQ_SERVER_PORT")
 	} else if config.Config.Server.MQServerPort != "" {