© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
17 replies
Llama

✅ error 40 in sql server docker and ef core

Has anyone used SQL Server in Docker and encountered error 40 when connecting from another container (a web API controller)? However, when running the web API in IIS, it connects to the SQL Server just fine.
Thank you in advance.
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ EF Core Sql Server JsonDocument
C#CC# / help
4y ago
Beginner in EF Core and SQL Server in need for help
C#CC# / help
2y ago
❔ Mixing EF Core and another SQL library
C#CC# / help
3y ago
(SQL Server) EF Core 8 not respecting JsonIgnore
C#CC# / help
2y ago