且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何设置apache以使用端口80?

更新时间:2022-10-15 11:37:44

只需学习Apache配置,该配置在其标准文档中。这就是端口的设置方式(80是HTTP的标准配置): http://httpd.apache.org /docs/2.2/vhosts/examples.html [ ^ ]。



是什么让您认为您的服务器未配置为在端口80上提供服务?







顺便说一句,任何需要做出任何与IP端口号相关的决定的人都应该咨询IANA规范端口分配的原始文件: http:// www。 iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml [ ^ ]。



-SA
E>

Just installed apache.Tested port port 80 and I got the outcome :Server:Microsoft-HTTPAPI/2.0.How can I set apache to use this eater.

Just learn Apache configuration, which is in its standard documentation. This is how a port is setup (80 is standard for HTTP): http://httpd.apache.org/docs/2.2/vhosts/examples.html[^].

What makes your thinking that your server is not configured to serve on port 80?

[EDIT]

By the way, anyone who needs to make any decision related to IP port numbers, any at all, should always consult the original document IANA regulating port assignments: http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml[^].

—SA