【发布时间】:2012-06-03 03:52:15
【问题描述】:
我使用的是 Ubuntu 12.04
我尝试将我的默认 apache2 端口从 80 更改为 8085
我编辑了/etc/apache2/ports.conf
我将Listen 80 行编辑为Listen 8085
然后重新启动我的 apache 服务
然后在浏览器中测试这个我把http://localhost:8085
结果是404 Not Found
然后我打开终端并运行
netstat -tulpn | grep 8085
o/p 是:
tcp 0 0 0.0.0.0:8085 0.0.0.0:* 听
我做错了吗?还是我错过了什么?
感谢和问候!
【问题讨论】:
标签: apache ubuntu localhost port