1.System.IO.IOException:“Failed to bind to address http://localhost:8102.”
2. SocketException: in a way that does not allow access to the attempts made to access a socket.
3. an AggregateException: One or More errors occurred (in a way that does not allow access to the attempts made to access a socket.) (In a way that does not allow access to the attempts made to access a socket. .)
Scene: The reason is that these problems occur when people develop cooperation
1. someone changes the launchSettings.json start ports, and submit it with the code.
2. localhost or IP address for the specified modification, is inconsistent with the IP address of the error will be reported.
The reason: The machine found at boot 8102 port is occupied, so the error. This error message just feel not so obvious.
Solution: Quick rollback launchSettings.json or modify the host address and port