It's me with my new hobby.. ngee>>>

13 January 2011

Question: XAMPP problem with Windows Server 2008 !!!

Question1
Hello,
I have a problem with running a XAMPP in Windows Server 2008. The HTDOCS isn't accessible using the IP address of computer (192.168.1.3), but only from localhost form that computer. Is there something that I have to configure before using XAMPP. I am new to Windows Server 2008.

TNX for your help,
Andrei

Solution1
Edit the Apache configuration file httpd.conf and look for the "LISTEN" directive. Usually Apache listens on all IPs and all Ports, but if a LISTEN directive is supplied, it listens only on that IP (and/or Port).

Examples:

LISTEN 80 ----> Apache listens (still) on all IPs, but only on Port 80
LISTEN 127.0.0.1 ----> Apache listens only on 127.0.0.1 (localhost), but still on all Ports.
LISTEN 127.0.0.1:80 ----> Apache listens only on 127.0.0.1 and only on Port 80

You may specify more than one LISTEN directive, Apache will listen to all specified IPs/Ports. Probably your httpd.conf contains a LISTEN directive, which points to 127.0.0.1 (with or without port specification). Either delete that LISTEN directive (in that case you MUST be sure, that this is the only LISTEN directive in your configuration) or add one LISTEN directive which points to 192.168.1.3. Then restart Apache.

0 Komen:

Post a Comment

Daisypath Anniversary tickers

Daisypath Anniversary tickers
 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Best WordPress Themes