Replies: 3 comments 4 replies
-
There is a dedicated doc guide on how to efficiently narrow down connectivity issues. You haven't provided any code so we cannot suggest anything else. |
Beta Was this translation helpful? Give feedback.
-
This is a guess since we have no code to work with but if you use the default credentials, be aware of the fact that for obvious security reasons that user can only connect from localhost. All inbound |
Beta Was this translation helpful? Give feedback.
-
@michaelklishin Thank you for your reply. We have crossed most of the things in that list already. The same code when run through a console app works fine, it only has issues when it is run under IIS app pool. Here is our code var factory = new ConnectionFactory()
{
HostName = hostname,
UserName = username,
Password = password,
VirtualHost = vhost,
Port = 5672
};
var connection = factory.CreateConnection(); |
Beta Was this translation helpful? Give feedback.
-
We have a web application trying to connect with an intention to publish to a RabbitMQ Server within the same network and we are getting the following exception.
We have tried shipping a simple console application to the server that does some publishing and that app works fine but when the web application uses the same code it gets the above exception. I tried looking for clues in the code in this repository and found none. Any help in this will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions