Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

(I asked this at stackoverflow, but was told it'd be better suited here...)

I have XAMPP installed on my local laptop (Vista) and it works fine. Apache and MySQL are running as services, and I can get to both //localhost/ and // without any hassles.

However, if I try accessing the server from another laptop on my internal network by typing in the // ip address, it errorstimes out. What am I missing here?

When I run Port Check, I get the following:

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

and when I try telnetting to localhost port 80, that works too. My httpd-vhosts.conf file contains the following lines:

<VirtualHost *:80>
ServerName localhost
DocumentRoot "C:/xampp/xampp/htdocs/"

ServerName localhost
DocumentRoot "C:/xampp/xampp/htdocs/"

Any thoughts?

share|improve this question
What error are you getting? – Alex Jan 23 '10 at 17:02
Sorry, it times out, not errors out. I'm trying to get the Windows Firewall set up properly right now... – user32675 Jan 23 '10 at 17:13
up vote 0 down vote accepted

Make sure you open the port 80 in the Windows (or other) firewall on the server laptop.

share|improve this answer
That was it. To fix this, I opened Windows Firewall, clicked Change settings, went to the Exceptions tab, and then "Add Port". Thanks. – user32675 Jan 23 '10 at 17:17
Good, glad I helped. – Alex Jan 24 '10 at 1:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.