© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
3 replies
Ares

[ASP.NET CORE MVC] help with docker

So im trying to containerize my app with docker. I was able to get it working locally. but here is the problem: throughout my client side code where I fetch data from my api, I have hard coded the IIS Express url (https://localhost:44378/), and that is different than dockers URL(https://localhost:8080/). so whenever I launch my app with IIS Express instead of docker, all the fetches fail cause im pointing to the wrong port (also theres thing thing where https wont work but http will but ill worry about that later).
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

ASP.NET Core MVC Structure
C#CC# / help
4w ago
✅ ASP.NET Core MVC error
C#CC# / help
3y ago