Problem with external Apache access

General support questions
Post Reply
maartenpt
Posts: 2
Joined: 2018/04/20 11:57:08

Problem with external Apache access

Post by maartenpt » 2018/04/20 12:02:56

I have a problem with the set-up of Apache in CentOS that I can't seem to resolve, and nobody can answer me either; Apache is running, listening on all on port 80 (netstat:

Code: Select all

tcp6 0 0 :::80 :::* LISTEN
), and when I login via SSH and telnet on port 80 on the public IP address, it responds perfectly (with the IP hidden here):

Code: Select all

~> telnet *** 80
Trying ***...
Connected to ***.
Escape character is '^]'.
GET /
<h1>Welcome</h1>
Connection closed by foreign host.
But if I try exactly the same thing from outside, it does connect, but does not give any answer:

Code: Select all

~> telnet *** 80
Trying ***...
Connected to ***.
Escape character is '^]'.
GET /
Connection closed by foreign host.
It cannot be a firewall problem, since the external connection does reach Apache (turning Apache off makes it no longer connect on port 80, and changing things in the firewall does the same), so I really don't see what could make the difference here... anybody with any suggestions?

maartenpt
Posts: 2
Joined: 2018/04/20 11:57:08

Re: Problem with external Apache access

Post by maartenpt » 2018/04/20 22:24:24

I am sorry for the question - it somehow got resolved.

It had been like this for a month, with nobody having any idea what might be going on - and I still don't know, but it somehow started working without me changing anything. So even though I thought that impossible, it must have been some firewall filtering out output on port 80 or something.

Post Reply