mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-11 01:54:34 +08:00
change default port to 8883
This commit is contained in:
parent
5c2106dd46
commit
c3051d9dfa
1 changed files with 1 additions and 1 deletions
|
@ -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 != "" {
|
||||
|
|
Loading…
Reference in a new issue