✅ Failed to bind to address http://127.0.0.1:5196: address already in use
Hi firends,
I'm working on a project using Microservices, I use
I have a service called AuthService which uses the
in
in the
When I start
Please I hope someone to provide a help here and massive thanks in advance
I'm working on a project using Microservices, I use
RabbitMQ as the message broker, and the MassTransit as the abstraction layer over the RabbitMQ.I have a service called AuthService which uses the
RabbitMQ, another service called ExpenseService.API also uses the same RabbitMQ in
appsettings.json of both services/projects have the same follwing RabbitMQ options in the
program.cs of ExpenseService.API I have this part which configure the project to be a consumer/subscriber :When I start
AuthService then ExpenseService I get this exception :Exception has occurred: CLR/System.IO.IOException
An unhandled exception of type 'System.IO.IOException' occurred in System.Private.CoreLib.dll: 'Failed to bind to address http://127.0.0.1:5196: address already in use.'
Inner exceptions found, see $exception in variables window for more details.
Innermost exception System.Net.Sockets.SocketException : Only one usage of each socket address (protocol/network address/port) is normally permitted.
Please I hope someone to provide a help here and massive thanks in advance