Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8064153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:17:01+00:00 2026-06-05T11:17:01+00:00

I have a simple RabbitMQ test program that sends and then receives a message

  • 0

I have a simple RabbitMQ test program that sends and then receives a message to a RabbitMQ server. I have two computers and I’ve found that whether or not my code works depends on which computer hosts the RabbitMQ server. Here is my situation (excuse my MS Paint):

enter image description here

  1. If computer A hosts the server and runs the code, sending a message from A to A, it works.
  2. If computer A hosts the server and my code runs on computer B, sending a message from B to A, it works.
  3. If computer B hosts the server and my code runs on computer A, sending a message from A to B, I get an exception that says “None of the specified endpoints were reachable”.
  4. If computer B hosts the server and runs the code, sending a message from B to B, it works.

I can’t figure out why scenario #3 doesn’t work for me.

  • I don’t think it’s the code because three of my scenarios work exactly as I expect them to.
  • I don’t think it’s a firewall issue because I ran these tests with my firewalls turned off on both computers.
  • I don’t think it’s a problem with the RabbitMQ server on computer B because it is able to communicate with itself just fine (scenario #4).
  • I checked the RabbitMQ log files on computer B after trying scenario #3, but I don’t see anything that says something about an attempted connection. I think computer A is simply unable to see computer B when sending requests.

My question, very generally is, what are some things that I should be looking for that might point to my problem? There must be some setting that is checked on computer A but is not checked on computer B. Computer B has the default installation of Erlang and RabbitMQ. I’m pretty sure computer A is also set to the defaults (I didn’t install it as recently).

Please help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T11:17:02+00:00Added an answer on June 5, 2026 at 11:17 am

    The issue is only evident when A tries to connect to B, so:

    • Check that A can resolve the host name for B to an IP address. Use nslookup b for this.
    • Check that A can reach B. Running ping b will be helpful for this.
    • Use telnet to connect from A to B’s RabbitMQ port (probably 5672): telnet b 5672. If you get a blank screen that means the connection was accepted. I’m betting you’ll get some sort of error though. Try this trick first using b’s IP address and then if that works try it with the hostname of b to make sure it resolves.

    In summary, just strip it down to pure network checks (no RabbitMQ involved) and work from there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple RabbitMQ test program randomly enqueuing messages, and another reading them,
i have simple form that uploads image to server and returns php string containing
I have simple serial port program that is supposed to read the serial port
I have simple code that does a head request for a URL and then
I have a PHP project (Symfony2) that uses RabbitMQ. I use its as simple
I have simple query that loads data from two tables into GUI. I'm saving
I have simple win service, that executes few tasks periodically. How should I pass
I have simple issue setting a two-way databinding of a checkbox in Silverlight 3.0.
I have simple WinForms application where modifying Windows Registry. The problem is that in
I have simple code: <?php error_reporting(E_ALL); ini_set('display_errors', true); ini_set('html_errors', false); $test = array(); $test

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.