提示OS10013错误could not bind to address 0.0.0.0:80,看到网上有将httpd.conf改为listen 81的方法,试了下,启动服务器没有报错,但是访问localhost:81时浏览器提示找不到页面,这是什么问题呢?
------解决方案--------------------
除了 listen 81 修改外,还需要修改ServerName和VirtualHost的端口号。
ServerName localhost:81
ServerName localhost:81
ServerAlias localhost
DocumentRoot /var/www/html
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from all
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!