Cannot connect to IP + PORT

30 views
Skip to first unread message

Mert Metin

unread,
Jun 26, 2015, 11:31:55 AM6/26/15
to rabbitm...@googlegroups.com
Hi,

RabbitMQ is running in remote server. However, when I check telnet 'MYIP  5672', cannot reach to the server for some reason. 

here's my net stat results:

tcp        0      0 0.0.0.0:25672               0.0.0.0:*                   LISTEN      -                   

tcp        0      0 :::5672                     :::*                        LISTEN      -                   


It is actually listening the port. Why can't I access to the server from my computer? What might be the reason?

Michael Klishin

unread,
Jun 26, 2015, 11:36:29 AM6/26/15
to rabbitm...@googlegroups.com, Mert Metin
On 26 June 2015 at 18:31:57, Mert Metin (me...@proximify.ca) wrote:
> Why can't I access to the server from my computer? What might
> be the reason?

Firewall configuration. 
--
MK

Staff Software Engineer, Pivotal/RabbitMQ


Mert Metin

unread,
Jun 26, 2015, 11:39:51 AM6/26/15
to rabbitm...@googlegroups.com, me...@proximify.ca
I've disabled the firewall.

Michael Klishin

unread,
Jun 26, 2015, 11:50:57 AM6/26/15
to rabbitm...@googlegroups.com, Mert Metin
On 26 June 2015 at 18:39:52, Mert Metin (me...@proximify.ca) wrote:
> I've disabled the firewall.

I can't suggest much without even knowing what error message you're getting
from Telnet.

This is a generic network connectivity troubleshooting question, I doubt there's
anything RabbitMQ-specific .

Michael Klishin

unread,
Jun 26, 2015, 12:01:39 PM6/26/15
to Mert metin, rabbitm...@googlegroups.com
+rabbitmq-users 

On 26 June 2015 at 18:54:17, Mert metin (mert...@outlook.com) wrote:
> I guess so.
>
> I think the problem is that 5672 is not opened for localhost because
> nmap -sS -O 127.0.0.1 shows below result:
>
> 22/tcp open ssh
> 25/tcp open smtp
>
> 80/tcp open http
>
> there is no 5672. I think I should open 5672 for localhost.

Note that we have a list of ports used by RabbitMQ on [1].

1.  http://www.rabbitmq.com/networking.html

Ilya Loginov

unread,
Jun 27, 2015, 1:54:07 AM6/27/15
to rabbitm...@googlegroups.com
What user name do you use? I had same issues when tried to connect using default credentials from remote host.

You need grant access to 'guest' to connect not only from localhost or configure other users.

BR,
Ilya

пятница, 26 июня 2015 г., 18:31:55 UTC+3 пользователь Mert Metin написал:

Michael Klishin

unread,
Jun 27, 2015, 2:03:41 AM6/27/15
to Ilya Loginov, rabbitm...@googlegroups.com
Mert had a TCP connectivity issue, not an authentication one ;)

MK
--
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