简体   繁体   English

URL中的端口-IIS7

[英]Ports in URL - IIS7

I actually need to add a port number to url to access different applications. 我实际上需要在URL中添加端口号以访问不同的应用程序。 For example: 例如:

http:// moodle.somecollege.com:1000 --> Moodle1 --> C:/Moodle1 http:// moodle.somecollege.com:1000-> Moodle1-> C:/ Moodle1

http:// moodle.somecollege.com:1001 --> Moodle2 --> C:/Moodle2 http:// moodle.somecollege.com:1001-> Moodle2-> C:/ Moodle2

http:// moodle.somecollege.com:1002 --> Moodle3 --> C:/Moodle3 http:// moodle.somecollege.com:1002-> Moodle3-> C:/ Moodle3

This works ok! 这样行得通! But now, for some Moodle reason, I need to avoid using the port number to access each site. 但是现在,由于某些Moodle的原因,我需要避免使用端口号访问每个站点。 So, I would need to acces with something like this: 因此,我需要访问以下内容:

http:// moodle1.moodle.somecollege.com http:// moodle1.moodle.somecollege.com

http:// moodle2.moodle.somecollege.com http:// moodle2.moodle.somecollege.com

http:// moodle3.moodle.somecollege.com http:// moodle3.moodle.somecollege.com

Is there any tool in IIS7 to easily change the "url-with-port" to a url that doesn't require the port. IIS7中是否有任何工具可以轻松地将“带有端口的URL”更改为不需要端口的URL。 At least explicitly. 至少是明确的。

Thanks in advance. 提前致谢。

-- Angel -天使

使用主机头并将端口更改为80。这样,您将无需显式为URL提供端口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM