Close

Results 1 to 2 of 2
  1. #1
    DF Super Moderator Rick Sanchez's Avatar
    Join Date
    Dec 2004
    Location
    Shoney's
    Posts
    3,811
    Thanks
    1,326
    Thanked:        366
    Karma Level
    408

    Help MQTT + Raspberry Pi

    Hi there I have installed HiveMQ but I cannot get it to work using localhost/127.0.0.1. It is giving me the error message of "Connect failed: AMQJS000I Socket closed.I cannot figure out how to fix this?

    Has anyone got any ideas? Can you please help me?
    Domain Registration, SSL Certificates and Web Hosting - Fusionhost- 25% Discount Available On All Web Hosting Plans For DF Members - Code: DF2022

  2. #2
    DF VIP Member Over Carl's Avatar
    Join Date
    Apr 2006
    Location
    London
    Posts
    13,125
    Thanks
    3,975
    Thanked:        1,690
    Karma Level
    1251

    Default Re: MQTT + Raspberry Pi

    I've never done anything with the PI or MQTT/HiveMQ, but here is my first thought:

    I'm guessing you are running HiveMQ on the Pi, but it doesn't seem to work because of the error you mentioned?

    If so, in a terminal prompt type ping 127.0.0.1

    After this try ping localhost

    If that doesn't work, try using nslookup to see if localhost resolves to 127.0.0.1

    Basically most kit is configured to treat localhost/127.0.0.1 as loopback - i.e. to be sent to the same host that is sending them rather than another device on the network.

    Sounds like this is broken for some particular reason although I have to say I have no idea what the cause may be and how to fix it. If pings are working, but your app isn't working, then maybe a firewalling issue, or your sw hasn't been bound to the correct interface?

Similar Threads

  1. [REQUEST] Raspberry Pi
    By koola2 in forum Forum Suggestions & Feedback
    Replies: 4
    Last Post: 15th June 2012, 06:43 PM
  2. FREE Raspberry pi order code
    By lloydi in forum The Dog and Duck
    Replies: 20
    Last Post: 8th June 2012, 10:18 PM
  3. [HELP] Raspberry Pi and iTunes?
    By EvilBoB in forum Home Audio/Video, Electronic Toys & Gadgets
    Replies: 2
    Last Post: 29th May 2012, 02:21 PM
  4. [World News] Bare bones Raspberry Pi PC gets ready to launch
    By burner1 in forum News & Current Affairs
    Replies: 2
    Last Post: 23rd December 2011, 06:07 PM

Social Networking Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •