© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
1 reply
Neteyes

.Net 6 on IIS (Port conflict)

Hey! I have an application that I would like to run on port 8081, and it does use port 8081 in startup, in UseUrls(). But I can't get it to run through IIS on the same port because obviously I get a conflict. But the issue is that no other port works either.

I've put IIS on port 8082, my app runs 8081. In the stdout i get a log that app is started on 8081, but IIS it seems can't access the site, so the binding on 8082 times out.

Any ideas to help here? I realize that I should run things on port 80, but it's not an option in this specific case sadly.

This is with dotnet publish and the .net6 hosting bundle
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 6.0 + EntityFramework + IIS
C#CC# / help
3y ago
publushing .net project to iis
C#CC# / help
15mo ago
❔ Authentication on a ASP.NET application hosted on IIS
C#CC# / help
3y ago
IIS Deploy ASP NET CORE Project
C#CC# / help
4y ago