Failed to bind to address http://127.0.0.1:5000: address already in use. #1456
-
Attempting to add a YARP site on a server that already has IIS for sites. What is the correct configuration to be able to run YARP side by side with IIS? Any help appreciated - thanks!
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
The ReverseProxy config section is unrelated to the incoming server bindings and that port conflict error. You need to configure the kestrel server bindings like this: |
Beta Was this translation helpful? Give feedback.
-
I'm running into one last problem - with IIS already on the server it won't let me bind to 80/443. How do you share 80/443 between Kestrel/YARP and IIS?
|
Beta Was this translation helpful? Give feedback.
I'm running into one last problem - with IIS already on the server it won't let me bind to 80/443.
(if we use 5000 or something like that in a test, we can load the site just fine on the server)
How do you share 80/443 between Kestrel/YARP and IIS?
@Tratcher