I have two network cards installed. 192.168.0.1/24 and 18.104.22.168/24. I can ping and telnet out on both interfaces.
Other computers can ping both interfaces. The problem is that telnetd and httpd are only responding on the 192.168.0.1 interface. When I try to telnet into 22.214.171.124, I get "Connection refused by remote host". Same thing happens with http. Also when I try to telnet to the local IP, I get the same thing and localhost dosn't answer telnet requests either.
I'm running Linux Redhat version 7.1 and there are no restrictions set in the firewall.