3
我在我的本地笔记本电脑(Vista)上安装了XAMPP,它工作正常。 Apache和MySQL是作为服务运行的,我可以同时得到http://localhost/和http://192.168.2.2/而没有任何麻烦。XAMPP Apache服务器不能在内部网络上工作
不过,如果我尝试在http://192.168.2.2/ IP地址,它错误输入超时访问我的内部网络上的另一台笔记本电脑服务器。我在这里错过了什么?
当我运行端口检查,我得到如下:
Service Port Status
==============================================================================
Apache (HTTP) 80 Program: C:\xampp\xampp\apache\bin\httpd.exe
Apache (WebDAV) 81 free
Apache (HTTPS) 443 Program: C:\xampp\xampp\apache\bin\httpd.exe
MySQL 3306 Program: C:\Program Files\MySQL\MySQL Server 5.1\bin
\mysqld.exe
,当我尝试远程登录到本地主机端口80,那也可以。我的httpd-vhosts.conf文件包含以下行:
<VirtualHost *:80>
ServerName localhost
DocumentRoot "C:/xampp/xampp/htdocs/"
</VirtualHost>
<VirtualHost 192.168.2.2>
ServerName localhost
DocumentRoot "C:/xampp/xampp/htdocs/"
</VirtualHost>
有什么想法?
我的第一个想法是:“不涉及编程”。也许更适合在serverfault.com – 2010-01-23 16:38:36
“它出错”......当您尝试从另一台机器访问192.168.2.2时,您收到了什么错误? – BenTheDesigner 2010-01-23 16:52:35
对不起,我应该解决这个问题。它超时,没有错误。 – user3930756 2010-01-23 17:13:28