Comments (4)
Hello, this seems very weird, I don't think it is possible in general to have this setup. The MQTT port in reality doesn't exist, it is the port of the underlying TCP server that then handles MQTT packets. I think you may be talking about port forwarding with a different port, please let me know if this is the case.
from kmqtt.
This is how I connect through the app МQTT Client. I allocated a port 8884 on the router for my microcontroller
from kmqtt.
Can you please try removing ":8884" from the URL field and set the Port field to 8884 instead of 1883? The router should automatically redirect from port 8884 to the port of the broker depending on how you configured it, I guess 8884 mapped to 1883. So when connecting from the outside world you should only need to specify port 8884.
from kmqtt.
Can you please try removing ":8884" from the URL field and set the Port field to 8884 instead of 1883? The router should automatically redirect from port 8884 to the port of the broker depending on how you configured it, I guess 8884 mapped to 1883. So when connecting from the outside world you should only need to specify port 8884.
Despite your quick response, thank you for this, I figured out how to bring my broker to the external Internet in a different way: send it to DMZ in WIFI-Router. Now I don't need to specify an additional port. I also isolated my microcontroller from other devices on the network to maintain security.
from kmqtt.
Related Issues (20)
- Artifact publication on Maven Central? HOT 3
- iOSBuild failed with Could not find 'openssl-its-simulator-arm64' HOT 2
- ssl server certificate not found (IOS only) HOT 4
- Source and JavaDoc missing from JVM artifacts HOT 1
- Error in recv: 9 on disconnect() HOT 12
- java.nio.BufferOverflowException when calling HOT 6
- Is it possible to add a path in MqttClient? HOT 2
- Provide the Client ID inside MQTTDisconnect HOT 2
- Expose the list of the connected client IDs HOT 5
- Delay in receiving published messages HOT 5
- TLSClientSettings from String instead of file path HOT 6
- Socket connection error on windows native HOT 1
- Delay in Publishing message HOT 2
- Can the broker host address be changed HOT 3
- new feature: [MQTTClient] add the timeout connection in parameters HOT 7
- Feature request: Use cklib to package openssl klibs HOT 1
- kmqtt-broker - Error on TLS javax.net.ssl.SSLException : Unable to parse TLS packet header HOT 4
- Ability to subscribe after broker connected HOT 2
- Any way to know if the broker has been started or stopped in the MQTT broker? Something like a listener ?? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kmqtt.