[Solved] HTTP: failed to make connection to backend: localhost

/var/log/apache2/error.log:[Thu Jul 12 14:52:47.565151 2018] [proxy:error] pid 29746:tid 139938330822400Connecti
on refused: AH00957: HTTP: attempt to connect to [::1]:3001
(localhost) failed
/var/log/apache2/error.log:[Thu Jul 12 14:52:47.565213 2018] [proxy:error] [pid 29746:tid 139938330822400] AH00959: app roxyconnectbackend disabling worker for (localhost) for 60s /var/log/apache2/error.log:[Thu Jul 12 14:52:47.565220 2018] [proxyhttp:error] [pid 29746:tid 139938330822400] [client
123.136.118.89:31478] AH01114: HTTP: failed to make connection to backend: localhost, referer: https://sizzia.com/login.
html
/var/log/apache2/error.log:[Thu Jul 12 14:52:50.786689 2018] [proxy:error] [pid 29746:tid 139938435008256] AH00940: HTTP
: disabled connection for (localhost)

things checked:
1)apache2 is active
2) ps aux | grep node" result:

background process is not working and browser show 503 error service unavailable.. did googling and still not working..

son 30660 0.0 0.0 14224 936 ttyS0 S+ 15:14 0:00 grep --color=auto node

Process
-user able to log in into dashboard

Current result
-browser gave output 503
-maintain in log in page

2 Replies

The site “sizzia.com” is up and responding successfully.

PING sizzia.com (139.162.14.252): 56 data bytes
64 bytes from 139.162.14.252: icmpseq=0 ttl=46 time=361.571 ms 64 bytes from 139.162.14.252: icmpseq=1 ttl=46 time=255.249 ms
64 bytes from 139.162.14.252: icmpseq=2 ttl=46 time=256.022 ms 64 bytes from 139.162.14.252: icmpseq=3 ttl=46 time=330.752 ms

The appropriate ports are also open.

Nmap 7.60 ( https://nmap.org ) at 2018-07-12 07:19 EDT
Nmap scan report for li856-252.members.linode.com (139.162.14.252)
Host is up (0.33s latency).
Not shown: 997 filtered ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https

Are you able to elaborate as to what you are trying to access?
When I try go to (https://sizzia.com/login) I get a 404 not found error.

The requested URL /login. was not found on this server.

I don't know that we have enough information to completely answer your question but these links may be of some service.

https://www.interserver.net/tips/kb/404-error-fix/
https://discuss.flarum.org/d/1869-solving-404-not-found-issues-on-apache

If you are able to provide some more details we can certainly try to point you the right direction but I would definitely give a look at those links.

Hi, sorry for late reply.. I already able to solve this. The problem is my nodejs port not running in the background.. To solve this i used PM2 to make nodejs to run in the background.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct