Skip to main content
1 of 3

Port 80 is not available outside localhost

I have a wifi-access point with wlan0 ip 10.42.0.1 . Also there is httpd runnig locally, and when i access it from local browser by 10.42.0.1 - i can see webpage perfectly fine. When i do on that machine nmap i can see port 80 is open.

But when i connect to that access point from another machine, even i can ping 10.42.0.1 fine - wget or browser gives me connction refused, as well as nmap shows no 80 open.

what i have done already:

  1. In httpd.conf i have added Listen 10.42.0.1:80
  2. I have added ip table rule iptables -I INPUT -p TCP --dport 80 -j ACCEPT
  3. I checked with tcpdump port 80 - and actually can see traffic comes in when i am trying to access web page.

What esle can i do to solve the problem?