Apache 重新启动时停止在 LAN 上工作
昨晚我在一台旧笔记本电脑(apache2)上设置了一个 Apache 服务器,只是为了玩玩。它在我的笔记本电脑上运行良好,我可以从本地网络上的其他计算机上获取网页。然而,重新启动计算机后,Apache 服务器在本地网络上不可见。
nmap TCP connect()、Syn 和 ping 扫描显示主机已关闭。然而,nmap -PN 扫描显示主机已启动,并且所有 1000 个扫描端口均被过滤。
PHP、MySQL 和 PhpMyAdmin 仍然在本地主机上完美运行,我发现的唯一问题是本地网络上没有任何运行。
预先感谢您的帮助。
I set up an Apache server on an old laptop last night (apache2) just to play around on. It worked fine on my laptop, and I could get web pages from it from other computers on my local network. After rebooting the computer, however, the Apache server is not visible on the local network.
nmap TCP connect(), Syn, and ping scans showed that the host was down. An nmap -PN scan, however, showed that the host is up and all 1000 scanned ports are filtered.
PHP, MySQL, and PhpMyAdmin are all still working perfectly on localhost, the only problem I can find is that nothing works on local network.
Thanks in advance for the help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您还没有在操作系统上说过,但是,可能存在本地防火墙,或者 IP 发生变化(可能是 DHCP),或者 DNS 没有正确跟上 DHCP。
netstat -a
应该告诉您哪些端口正在被监听。检查它不只是监听 127.0.0.1You havent said on your OS, but, there could be a local firewall, or, a change of IP (it could be DHCP) or DNS hasnt caught up properly with DHCP..
a
netstat -a
should tell you what ports are being listened on. Check its not just listening on 127.0.0.1