PathBase vs Prefix (HttpSys) #57139
Replies: 1 comment
-
Hi there,
restricts the server to handle requests starting with UsePathBase method modifies the request path that the application sees and allowing the application to act as if it's hosted at a subpath. It doesn’t affect where the server listens (like UseUrls) but changes how the requests are routed internally within the application. By removing So to solve the issue, you have to assign different ports for each application to avoid conflicts or use a reverse proxy to route requests to different applications based on the path. |
Beta Was this translation helpful? Give feedback.
-
Hey! I'm confused about what's the difference of prefix and path base.
Recently I made a change in a code base from:
to
Everything worked fine until it reached an environment with other apps making it crash with
The prefix 'https://*:888/' is already registered.
I was under the impression the same thing. Can someone explain to me what are the differences?
Beta Was this translation helpful? Give feedback.
All reactions