Can't access a local site site on LAN

Posted by Dilawar on Server Fault See other posts from Server Fault or by Dilawar
Published on 2012-06-08T01:37:49Z Indexed on 2012/06/08 4:42 UTC
Read the original article Hit count: 490

Filed under:
|

I have lighttpd setup on a machine (say ip is 10.107.105.13) with following details.

inet addr : 10.107.105.13
Bcast : 10.107.111.255
Mask : 255.255.240.0

I can access my site on this computer by using firefox http://localhost/index.html.

Now I am trying to access this site from another computer with following details

inet addr : 10.14.42.7
Bcast : 10.14.42.255
Mask : 255.255.255.0

But it says 'access denied'.

nmap 10.107.105.13 gives the following output.

PORT     STATE SERVICE
22/tcp   open  ssh
80/tcp   open  http
1234/tcp open  hotline
3306/tcp open  mysql
9418/tcp open  git

Following is the output of iptables -L -n -v on 10.107.105.13

 141 11207 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:80 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:80 

FORWARD and OUTPUT section empty.

What is wrong with all this?

© Server Fault or respective owner

Related posts about webserver

Related posts about lighttpd