Abby Wu Abby Wu - 1 year ago 105
Apache Configuration Question

Cannot reach site via local network to Apache2 server

I just installed Apache2 on Ubuntu Server 16.04.1 LTS and its ip is

I have another laptop with ip

I failed to send on laptop's browser because it showed 'This site can’t be reached' back.

On server itself

curl http://localhost
is correct.

I don't know why I cannot access it on another computer in the same local network.

And not sure which conf file I should check for Apache2.

sudo iptables -L

Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:http
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination


PING ( 56(84) bytes of data.
FROM icmp_seq=1 Destination Host Unreachable
FROM icmp_seq=2 Destination Host Unreachable
FROM icmp_seq=3 Destination Host Unreachable


PING ( 56(84) bytes of data.
From icmp_seq=1 Destination Host Unreachable
From icmp_seq=2 Destination Host Unreachable
From icmp_seq=3 Destination Host Unreachable
From icmp_seq=4 Destination Host Unreachable

arp -a

3820TG.Home ( at <incomplete> on wlx74da386a0cb2

Answer Source

Few things to check:

  1. On the server, sudo iptables -L
  2. Ping test: run ping on your laptop.
  3. Another Ping: run ping on your server.

Follow these steps and append the results to your question.

Update 1:

  • Firewall is good
  • Can't ping from both sides.

Next Step, Check you router.

If you are using a wireless router, check if there is any setting called AP Isolation on the router, disable it.

If there is no such settings, check if you are connecting to a Guest Network/WIFI.

Both settings will prevent you from accessing any devices in your local network except the router itself.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download