Skip to content
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

vue3使用mqtt://ip:1883无法连接 使用工具可以连接成功 #156

Open
aa584223358 opened this issue Nov 25, 2024 · 1 comment
Open
Assignees

Comments

@aa584223358
Copy link

vue3 / vue2 使用 mqtt://ip:1883 无法连接 使用工具可以连接成功

@0721Betty
Copy link
Member

need add /mqtt path

mqtt.connect("mqtt://broker.emqx.io:1883/mqtt", {
  clientId,
  username,
  password,
  // ...other options
})

@0721Betty 0721Betty self-assigned this Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants