开发者

How to configure Application Request Routing in IIS 7.0 for 2 applications running locally on different ports?

开发者 https://www.devze.com 2023-02-03 06:11 出处:网络
I\'ve开发者_如何学Python got 2 applications running on my local machine. One sharepoint and another IIS application:

I've开发者_如何学Python got 2 applications running on my local machine. One sharepoint and another IIS application:

localhost:43442 localhost:5080

I've installed ARR and need to configure it to run these 2 apps on a host and port but when adding a new server, it only accepts a server name rather than its port as well.

Any help?


For me, I needed to add a server to my server farm, called localhost. Clicking Advanced Settings... lets you specify the http and https ports. Set those to the ports that you would like your domain proxied to.

After that, create an inbound rule for URL Rewrite that matches the HTTP_HOST condition with a pattern of your website domain that the server is acting as a proxy for. Select Route to Server Farm for the action and select the specified server farm.


I added a new Inbound Rule and it worked :)

0

精彩评论

暂无评论...
验证码 换一张
取 消