Can't connect to port 1883 from outside host

190 views
Skip to first unread message

Ahmad Anshorimuslim Syuhada

unread,
Dec 4, 2016, 11:15:22 PM12/4/16
to rabbitmq-users
I have host installed with RabbitMQ and enabled plugin mqtt and web_mqtt. I have test it inside host, using Python paho-mqtt to check RabbitMQ alive, and it works. But when I tried to connect from outside host, it can't reach out. I have my server installed with NGINX and list my open port. Here it is:

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -              
tcp        0      0 0.0.0.0:15672           0.0.0.0:*               LISTEN      -              
tcp        0      0 0.0.0.0:15674           0.0.0.0:*               LISTEN      -              
tcp        0      0 0.0.0.0:15675           0.0.0.0:*               LISTEN      -              
tcp        0      0 0.0.0.0:19999           0.0.0.0:*               LISTEN      -              
tcp        0      0 0.0.0.0:25672           0.0.0.0:*               LISTEN      -              
tcp        0      0 127.0.0.1:27017         0.0.0.0:*               LISTEN      -              
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -              
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -              
tcp6       0      0 :::4369                 :::*                    LISTEN      -              
tcp6       0      0 :::22                   :::*                    LISTEN      -              
tcp6       0      0 :::1883                 :::*                    LISTEN      -              
tcp6       0      0 :::19999                :::*                    LISTEN      -              
tcp6       0      0 :::5672                 :::*                    LISTEN      -              
tcp6       0      0 :::61613                :::*                    LISTEN      -              
tcp6       0      0 :::80                   :::*                    LISTEN      - 

Whats wrong with my RabbitMQ ? I can't connect from outside.

Thanks

Michael Klishin

unread,
Dec 4, 2016, 11:41:55 PM12/4/16
to rabbitm...@googlegroups.com
There are few details to work with in your post. One reason could be that your code relies on the guest user which can only connect from localhost. Another is that you have port 1883 listener only on IPv6 interface(s).
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages