Mosquitto responds on Ubuntu on HP Microserver, not on PCDuino
up vote
0
down vote
favorite
I have a HP Microserver running Ubuntu LTS 18.04, and I use it as a MQTT broker. I port forward port 1883 from my internet router to 172.16.97.2 - the address of my Microserver.
I want to run it on a less intensive device, so I installed a PCDuino, which is also running Ubuntu - Linaro 12.07. It's IP address is 172.16.97.9
The MQTT Broker responds when I do mosquitto_pub from LAN devices on the same segment on both the HP Microserver and the PCduino.
However....
The PCDuino does not respond to external requests after I change the port forwarding address.
I have had trouble trying to change the IP address of eth0 also - I tried the gui "Edit Connections" but it does not have any effect - by that I mean I set eth0 to be a static IP, in Edit Connections, and the device maintains it's dhcp ip address even after a shutdown -r now.
Is there any obvioud places I should look to fix this networking issue?
However, when I change the port
networking ethernet
add a comment |
up vote
0
down vote
favorite
I have a HP Microserver running Ubuntu LTS 18.04, and I use it as a MQTT broker. I port forward port 1883 from my internet router to 172.16.97.2 - the address of my Microserver.
I want to run it on a less intensive device, so I installed a PCDuino, which is also running Ubuntu - Linaro 12.07. It's IP address is 172.16.97.9
The MQTT Broker responds when I do mosquitto_pub from LAN devices on the same segment on both the HP Microserver and the PCduino.
However....
The PCDuino does not respond to external requests after I change the port forwarding address.
I have had trouble trying to change the IP address of eth0 also - I tried the gui "Edit Connections" but it does not have any effect - by that I mean I set eth0 to be a static IP, in Edit Connections, and the device maintains it's dhcp ip address even after a shutdown -r now.
Is there any obvioud places I should look to fix this networking issue?
However, when I change the port
networking ethernet
Looks like a firewall issue on your PCDuino. What does the nmap say, is the port on PCDuino open?
– kukulo
Nov 25 at 7:01
The MQTT Broker on the PCDuino responds to mosquitto_pub from another computer connected to the same ethernet switch on the same segment, so is it more likely to be a newtwork gateway issue?
– NULLpointer
Nov 25 at 20:27
on the other machine, nmap -p 1833 172.16.97.9 returns 1883/tcp open unknown
– NULLpointer
Nov 25 at 20:41
Can you swap the two IP adresses? E.g. PCDuino gets 172.16.97.2? Does the MQTT not require UPNP on PCDuino?
– kukulo
Nov 26 at 6:52
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a HP Microserver running Ubuntu LTS 18.04, and I use it as a MQTT broker. I port forward port 1883 from my internet router to 172.16.97.2 - the address of my Microserver.
I want to run it on a less intensive device, so I installed a PCDuino, which is also running Ubuntu - Linaro 12.07. It's IP address is 172.16.97.9
The MQTT Broker responds when I do mosquitto_pub from LAN devices on the same segment on both the HP Microserver and the PCduino.
However....
The PCDuino does not respond to external requests after I change the port forwarding address.
I have had trouble trying to change the IP address of eth0 also - I tried the gui "Edit Connections" but it does not have any effect - by that I mean I set eth0 to be a static IP, in Edit Connections, and the device maintains it's dhcp ip address even after a shutdown -r now.
Is there any obvioud places I should look to fix this networking issue?
However, when I change the port
networking ethernet
I have a HP Microserver running Ubuntu LTS 18.04, and I use it as a MQTT broker. I port forward port 1883 from my internet router to 172.16.97.2 - the address of my Microserver.
I want to run it on a less intensive device, so I installed a PCDuino, which is also running Ubuntu - Linaro 12.07. It's IP address is 172.16.97.9
The MQTT Broker responds when I do mosquitto_pub from LAN devices on the same segment on both the HP Microserver and the PCduino.
However....
The PCDuino does not respond to external requests after I change the port forwarding address.
I have had trouble trying to change the IP address of eth0 also - I tried the gui "Edit Connections" but it does not have any effect - by that I mean I set eth0 to be a static IP, in Edit Connections, and the device maintains it's dhcp ip address even after a shutdown -r now.
Is there any obvioud places I should look to fix this networking issue?
However, when I change the port
networking ethernet
networking ethernet
asked Nov 25 at 6:37
NULLpointer
1
1
Looks like a firewall issue on your PCDuino. What does the nmap say, is the port on PCDuino open?
– kukulo
Nov 25 at 7:01
The MQTT Broker on the PCDuino responds to mosquitto_pub from another computer connected to the same ethernet switch on the same segment, so is it more likely to be a newtwork gateway issue?
– NULLpointer
Nov 25 at 20:27
on the other machine, nmap -p 1833 172.16.97.9 returns 1883/tcp open unknown
– NULLpointer
Nov 25 at 20:41
Can you swap the two IP adresses? E.g. PCDuino gets 172.16.97.2? Does the MQTT not require UPNP on PCDuino?
– kukulo
Nov 26 at 6:52
add a comment |
Looks like a firewall issue on your PCDuino. What does the nmap say, is the port on PCDuino open?
– kukulo
Nov 25 at 7:01
The MQTT Broker on the PCDuino responds to mosquitto_pub from another computer connected to the same ethernet switch on the same segment, so is it more likely to be a newtwork gateway issue?
– NULLpointer
Nov 25 at 20:27
on the other machine, nmap -p 1833 172.16.97.9 returns 1883/tcp open unknown
– NULLpointer
Nov 25 at 20:41
Can you swap the two IP adresses? E.g. PCDuino gets 172.16.97.2? Does the MQTT not require UPNP on PCDuino?
– kukulo
Nov 26 at 6:52
Looks like a firewall issue on your PCDuino. What does the nmap say, is the port on PCDuino open?
– kukulo
Nov 25 at 7:01
Looks like a firewall issue on your PCDuino. What does the nmap say, is the port on PCDuino open?
– kukulo
Nov 25 at 7:01
The MQTT Broker on the PCDuino responds to mosquitto_pub from another computer connected to the same ethernet switch on the same segment, so is it more likely to be a newtwork gateway issue?
– NULLpointer
Nov 25 at 20:27
The MQTT Broker on the PCDuino responds to mosquitto_pub from another computer connected to the same ethernet switch on the same segment, so is it more likely to be a newtwork gateway issue?
– NULLpointer
Nov 25 at 20:27
on the other machine, nmap -p 1833 172.16.97.9 returns 1883/tcp open unknown
– NULLpointer
Nov 25 at 20:41
on the other machine, nmap -p 1833 172.16.97.9 returns 1883/tcp open unknown
– NULLpointer
Nov 25 at 20:41
Can you swap the two IP adresses? E.g. PCDuino gets 172.16.97.2? Does the MQTT not require UPNP on PCDuino?
– kukulo
Nov 26 at 6:52
Can you swap the two IP adresses? E.g. PCDuino gets 172.16.97.2? Does the MQTT not require UPNP on PCDuino?
– kukulo
Nov 26 at 6:52
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095840%2fmosquitto-responds-on-ubuntu-on-hp-microserver-not-on-pcduino%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Looks like a firewall issue on your PCDuino. What does the nmap say, is the port on PCDuino open?
– kukulo
Nov 25 at 7:01
The MQTT Broker on the PCDuino responds to mosquitto_pub from another computer connected to the same ethernet switch on the same segment, so is it more likely to be a newtwork gateway issue?
– NULLpointer
Nov 25 at 20:27
on the other machine, nmap -p 1833 172.16.97.9 returns 1883/tcp open unknown
– NULLpointer
Nov 25 at 20:41
Can you swap the two IP adresses? E.g. PCDuino gets 172.16.97.2? Does the MQTT not require UPNP on PCDuino?
– kukulo
Nov 26 at 6:52