Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi there,
Im stuck here:
one LAN
two laptops(OS Vista)
one laptop running Apache 2.2
I can ping both ways
lap runnig apache has access to
myserver.dev thorugh http//localhost
or 127.0.0.1 or myserv.dev itselfother machine cant access myserver.dev
I tried access throogh IP of that machine
wich is runnig apache but it didn workhosts file is configured as follows:
=========hosts=======================
127.0.0.1 localhost
255.255.255.255 broadcasthost
127.0.0.1 myserver.dev
127.0.0.1 www.myserver.dev
=================================
When I try to connect, connection times out.before I tried following config of hosts file
=======before=====================
127.0.0.1 localhost
255.255.255.255 broadcasthost
192.168.1.78 myserver.dev
192.168.1.78 www.myserver.dev
===192.168.1.78 is IP of Server laptop========
it didn work eitherWhat should be configured in terms to see myserver.dev from both mashines on the same LAN?
here are some configuration parts of my httpd:
========httpd=======================
#Listen 12.34.56.78:80
Listen 80# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName www.myserver.dev:80<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory><Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory># Virtual hosts
Include conf/extra/httpd-vhosts.conf=========httpd======================
and here is httpd-vhosts file
============vhosts file========
<VirtualHost *:80>
DocumentRoot "C:/Server/www/myserver.dev/public_html"
ServerName myserver.dev
ServerAlias www.myserver.dev
<Directory "C:/Server/www/myserver.dev/public_html">
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>===========v hosts================
please help me to sort out this.
thanks in advance

I found the answer myself!!!!
there is not the problem in apache configuration at all but the windows firewall restrictions.
I should of open tcp port 80 for incoming trafic which in turn apache is listening

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |