You are not logged in.

#1 2011-01-09 04:44:10

Kraychik
Member
Registered: 2009-12-15
Posts: 3

No access to Apache from internet

Hi!
From the Internet can not connent to my site, but from localhost everything works.

In /etc/hosts.deny "ALL : ALL" is coment.
After installation, I not change httpd.conf.
IP is static.

# nmap -sS -p 80 mysite.com
80/tcp filtered http
# iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
# netstat -tlpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      3320/rpcbind        
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      6554/vsftpd         
tcp        0      0 0.0.0.0:17500           0.0.0.0:*               LISTEN      3903/dropbox        
tcp        0      0 0.0.0.0:961             0.0.0.0:*               LISTEN      3329/famd           
tcp        0      0 :::111                  :::*                    LISTEN      3320/rpcbind        
tcp        0      0 :::80                   :::*                    LISTEN      2696/httpd

For ftp and other services, from internet connection is work.
What's blocking 80 port?
Forgive my English.


I from Ukraine!

Offline

#2 2011-01-09 05:46:57

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: No access to Apache from internet

Do you have a router/NAT? You'll need to forward the port to your server on the local network.

Also, if you do have iptables rules, you're just setting the default fallbacks to ACCEPT, you still need to flush the rules.

Offline

#3 2011-01-09 12:21:23

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: No access to Apache from internet

Your ISP may also be blocking incoming HTTP traffic if you're on a home connection. But if they're not blocking FTP, then I doubt they're blocking HTTP.

Offline

#4 2011-01-09 18:15:51

Stebalien
Member
Registered: 2010-04-27
Posts: 1,238
Website

Re: No access to Apache from internet

Your HTTP server is using ipv6. Try changing the Listen line in your httpd.conf to

Listen 0.0.0.0:80

Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

Board footer

Powered by FluxBB