RabbitMQ None of the specified endpoints were reachable 错误 解决方案
1.防火墙开通5672端口
2.设置VirtualHost的权限
3.我遇到的实际问题System.Threading.Tasks.Extensions版本不对,也报这个错误。在webconfig里面加上以下配置解决。
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
</dependentAssembly>
</assemblyBinding>