Docker Containers and localhost: Cannot Assign Requested Address

Look out for your use of ‘localhost’ when using Docker and Docker Compose

Christopher Laine
IT Dead Inside
Published in
4 min readNov 9, 2019

--

This one might not be obvious at first glance. I hope this helps someone out there who may run into this same issue.

I’ve got an ASP.NET Core website which connects to an API. The website uses a proxy class…

--

--