I have an application, a simple web page, accessible via port 80 on an apache webserver on a RHEL linux distribution.
This server has a ServerName "xyz.domain.com" and is accessible via 2 network interfaces.
From both networks telnet xyz.domain.com 80 is fine: the server is available. Problem is that, from network 2, wget http://xyz.domain.com/index.html goes on timeout.
I wasn't the person who set up those machines, according to you what the problem could be? Maybe some iptables configuration?
I followed the advice to put the verbose flag and I have the following, it seems that a "TCP NODE RELAY" is set, what does that mean? On the network where it works it is not present, I think that's the cause.
* TCP_NODELAY set
* Connected to xyz.domain.com (10.10.8.1) port 80 (#0)
> GET / HTTP/1.1
> Host: xyz.domain.com
> User-Agent: curl/7.56.1
> Accept: */*
>
0 0 0 0 0 0 0 0 --:--:-- 0:00:20 --:--:--
0* Recv failure: Connection was reset
* stopped the pause stream!
0 0 0 0 0 0 0 0 --:--:-- 0:00:21 --:--:-- 0
* Closing connection 0
curl: (56) Recv failure: Connection was reset