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










share|improve this question






















  • 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















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










share|improve this question






















  • 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













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










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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


















  • 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















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















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






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Quarter-circle Tiles

build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

Mont Emei