It's my first post here - please be patient.
I have an issue I'm trying to solve for months now and never got it solved. There are many similar posts related but none worked for me.
I'm running Lucid and have Apache2 installed and running fine on my PC (64bit).
After using it first as test server I have now developed a private application and would like to share it with the other machines on the network.
I have set up virtual host and put them in the hosts file on the remote machine.
The domain pings fine, but from the browser I get a timed out connection.
tcpdump -i any -vvv port 80 shows that the packets are received but I see only session start flags.
Example:
I guess it has to do with iptables setup. I opened port 80:Code:17:33:42.563131 IP (tos 0x0, ttl 64, id 49530, offset 0, flags [DF], proto TCP (6), length 60) 192.168.1.4.40669 > 192.168.1.2.www: Flags [S], cksum 0x6606 (correct), seq 2212091403, win 14600, options [mss 1460,sackOK,TS val 8465416 ecr 0,nop,wscale 6], length 0 17:34:06.339966 IP (tos 0x0, ttl 64, id 8206, offset 0, flags [DF], proto TCP (6), length 60) 192.168.1.4.40668 > 192.168.1.2.www: Flags [S], cksum 0x1802 (correct), seq 1501312822, win 14600, options [mss 1460,sackOK,TS val 8471360 ecr 0,nop,wscale 6], length 0 17:34:06.596088 IP (tos 0x0, ttl 64, id 49531, offset 0, flags [DF], proto TCP (6), length 60) 192.168.1.4.40669 > 192.168.1.2.www: Flags [S], cksum 0x4e8e (correct), seq 2212091403, win 14600, options [mss 1460,sackOK,TS val 8471424 ecr 0,nop,wscale 6], length 0 ^C 10 packets captured 10 packets received by filter 0 packets dropped by kernel
Does't seem to help.Code:richard@richard-laptop:~$ sudo ufw status Status: active Zu Aktion Von -- ------ --- 22/tcp ALLOW 192.168.0.0/24 80/tcp ALLOW Anywhere
Here the netstat output:
Funny thing is, it worked before I switched tu Lucid.Code:richard@richard-laptop:~$ sudo netstat -tulpen | grep apache [sudo] password for richard: tcp6 0 0 :::80 :::* LISTEN 0 6235 1495/apache2
After trying so many things I'm running out of ideas and courage.
Your help is appreciated.
Thanks
Richard



Adv Reply
Bookmarks