In a CentOS 7 server with apache httpd 2.4 set up as an ssl reverse proxy for tomcat, I am getting an error indicating that httpd is not able to connect with tomcat.  How can I resolve this error so that httpd serves up the content generated by tomcat?The ssl_error_log says:  [Tue Dec 16 20:20:15.007630 2014] [proxy:error] [pid 12784] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed[Tue Dec 16 20:20:15.007727 2014] [proxy:error] [pid 12784] AH00959: ap_proxy_connect_backend disabling worker for (localhost) for 60s[Tue Dec 16 20:20:15.007752 2014] [proxy_http:error] [pid 12784] [client client.ip.address:48100] AH01114: HTTP: failed to make connection to backend: localhostI have read the catalina.out file, which clearly indicates that tomcat successfully launched the root app after I ran startup.sh.  I also read this other posting, which put the blame on SELinux.  But I made sure that /etc/sysconfig/selinux has SELINUX=disabled, so it seems my problem is caused by something else.  The reverse proxy was working perfectly earlier today.  The only changes made on the server today were to upload new versions of the root war into tomcat a couple of times, and to stop then restart tomcat and httpd each time a new root war was uploaded.  This might have involved changing the shutdown port in server.xml from -1 to a valid port number to allow tomcat to shutdown.  You can view the complete ssl.conf by clicking on this link.  Please note that the VirtualHost is completely defined in ssl.conf and NOT in httpd.conf.  You can also read the complete server.xml by clicking on this link.  EDIT: Following IanMcGowan's advice gave the following results:  [root@remote.server.ip ~]# telnet localhost 8080Trying ::1...telnet: connect to address ::1: Connection refusedTrying 127.0.0.1...telnet: connect to address 127.0.0.1: Connection refused[root@remote.server.ip ~]# GET / HTTP/1.0<HTML><HEAD><TITLE>Directory /</TITLE><BASE HREF=file:/></HEAD><BODY><H1>Directory listing of /</H1><UL><LI><A HREF=./>./</A><LI><A HREF=../>../</A><LI><A HREF=.autorelabel>.autorelabel</A><LI><A HREF=.readahead>.readahead</A><LI><A HREF=bin/>bin/</A><LI><A HREF=boot/>boot/</A><LI><A HREF=db/>db/</A><LI><A HREF=dev/>dev/</A><LI><A HREF=etc/>etc/</A><LI><A HREF=home/>home/</A><LI><A HREF=lib/>lib/</A><LI><A HREF=lib64/>lib64/</A><LI><A HREF=media/>media/</A><LI><A HREF=mnt/>mnt/</A><LI><A HREF=opt/>opt/</A><LI><A HREF=proc/>proc/</A><LI><A HREF=root/>root/</A><LI><A HREF=run/>run/</A><LI><A HREF=sbin/>sbin/</A><LI><A HREF=srv/>srv/</A><LI><A HREF=sys/>sys/</A><LI><A HREF=tmp/>tmp/</A><LI><A HREF=usr/>usr/</A><LI><A HREF=var/>var/</A><LI><A HREF=www/>www/</A></UL></BODY></HTML>I also opened up 8080 to test if tomcat is running as follows:  When I typed in http : / / mydomain.com and http : / / my.ip.address , nothing was served to the browser.  When I type https : / / mydomain.com , I get the same error stating the service is unavailable.The last two lines of catalina.out have not changed since I restarted the server yesterday, and are as follows:  16-Dec-2014 20:19:35.967 INFO [localhost-startStop-1] org.apache.catalina.start$16-Dec-2014 20:19:35.970 INFO [main] org.apache.catalina.startup.Catalina.start$ Server startup in 46065 msEDIT #2:To test if tomcat is running, I did the following:  [root@remote.server.ip]# ps aux | grep tomcatroot      6858  0.7 18.5 3826248 1095780 ?     Sl   Dec12  51:03 java -Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/tomcat/endorsed -classpath /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/opt/tomcat -Dcatalina.home=/opt/tomcat -Djava.io.tmpdir=/opt/tomcat/temp org.apache.catalina.startup.Bootstrap startroot     12524  0.2 20.1 3891788 1187888 ?     Sl   Dec15   6:20 java -Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/tomcat/endorsed -classpath /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/opt/tomcat -Dcatalina.home=/opt/tomcat -Djava.io.tmpdir=/opt/tomcat/temp org.apache.catalina.startup.Bootstrap startroot     16404  0.2 15.0 3630784 887836 ?      Sl   Dec16   2:36 java -Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/tomcat/endorsed -classpath /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/opt/tomcat -Dcatalina.home=/opt/tomcat -Djava.io.tmpdir=/opt/tomcat/temp org.apache.catalina.startup.Bootstrap startroot     17987  0.0  0.0 112640   964 pts/0    R+   14:20   0:00 grep --color=auto tomcat
CentOS 7 httpd failed to make connection with backend
centos;apache httpd;ssl;tomcat;reverse proxy