当我尝试从Web浏览器访问我的VM时,出现以下错误:
This webpage is not available
ERR_CONNECTION_TIMED_OUT
这是error.log文件的内容:
[Wed Feb 03 12:21:34.321525 2016] [core:notice] [pid 5101] AH00094: Command line: '/usr/sbin/apache2'
[Wed Feb 03 12:21:59.267496 2016] [mpm_prefork:notice] [pid 5101] AH00169: caught SIGTERM, shutting down
[Wed Feb 03 12:22:00.257480 2016] [ssl:warn] [pid 10050] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Feb 03 12:22:00.286850 2016] [ssl:warn] [pid 10051] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Feb 03 12:22:00.288822 2016] [mpm_prefork:notice] [pid 10051] AH00163: Apache/2.4.7 (Ubuntu) OpenSSL/1.0.1f configured -- resuming normal operations
导致此问题的原因是什么?我错过了一些简单的东西吗?
答案 0 :(得分:0)
事实证明,这是因为防火墙。
我关闭了防火墙(我正在本地虚拟机上开发),它没有问题。
sudo ufw disable