I can reach my files via ftp, but can't open my website by domain name or ip. I get the following error:
ERROR The requested URL could not be retrieved (111) connection refused
I'm very new to linux/debian, so I hope i provide you the right information. These are the
netstat -lnp | grep 80 results to see if the server is listening to port 80:
unix 2 [ ACC ] STREAM LISTENING 30287 1680/gvfsd-burn @/dbus-vfs-daemon/socket-cQlXqXvj
iptables -L -vn to see if the ports are open:
PKTS bytes target prot in out source destination 951 44836 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 58 2548 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443
There's no in/out and source/destination, so I guess there's something wrong with these ports. I'm not sure where to start solving this problem, I hope you can provide me more information.