Question

My droplet IP is not working and my apps shows bad gateway

Posted June 15, 2021 210 views
DigitalOceanAPIUbuntu 18.04DigitalOcean Droplets

Hello, i recently notice that my app goes down by showing bad gateway when i try to open them. it was fixed initially but it came up again. i checked the log from var\log\nginx and here is the error i am getting. I also noticed that my ip https://159.65.238.186/ isnt working

2021/06/15 12:02:35 [error] 1659#1659: *311 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi there,

It looks like that the Nginx service is unable to connect to the upstream. You need to make sure that the upstream is available. Can you share your Nginx server block here so that I could advise you further?

Reragards,
Bobby

  • This is what i got from error.log

    2021/06/15 06:50:32 [error] 1617#1617: *6988602 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/6.6582/3.3784 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/6.6582/3.3784", host: "api.jetride.org"
    2021/06/15 06:50:33 [error] 1617#1617: *6988604 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/paystackCard HTTP/1.1", upstream: "http://127.0.0.1:3000/master/paystackCard", host: "api.jetride.org"
    2021/06/15 06:50:33 [error] 1617#1617: *6988606 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 07:13:10 [error] 1617#1617: *6988613 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 07:13:10 [error] 1617#1617: *6988615 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/6.6467/3.3694 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/6.6467/3.3694", host: "api.jetride.org"
    2021/06/15 07:13:10 [error] 1617#1617: *6988617 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/paystackCard HTTP/1.1", upstream: "http://127.0.0.1:3000/master/paystackCard", host: "api.jetride.org"
    2021/06/15 07:27:02 [error] 1617#1617: *6988638 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 07:27:02 [error] 1617#1617: *6988640 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/paystackCard HTTP/1.1", upstream: "http://127.0.0.1:3000/master/paystackCard", host: "api.jetride.org"
    2021/06/15 07:27:02 [error] 1617#1617: *6988642 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/6.6398/3.3688 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/6.6398/3.3688", host: "api.jetride.org"
    2021/06/15 07:32:02 [error] 1617#1617: *6988645 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:32:05 [error] 1617#1617: *6988647 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:32:07 [error] 1617#1617: *6988649 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:32:09 [error] 1617#1617: *6988651 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:32:10 [error] 1617#1617: *6988653 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:32:17 [error] 1617#1617: *6988655 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:32:19 [error] 1617#1617: *6988657 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:32:20 [error] 1617#1617: *6988659 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:32:32 [error] 1617#1617: *6988661 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:32:33 [error] 1617#1617: *6988663 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:32:35 [error] 1617#1617: *6988665 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:32:37 [error] 1617#1617: *6988667 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:32:38 [error] 1617#1617: *6988669 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:32:49 [error] 1617#1617: *6988671 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:48:34 [error] 1617#1617: *6988673 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 07:48:34 [error] 1617#1617: *6988673 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 07:48:34 [error] 1617#1617: *6988676 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/appConfig/1.0 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/appConfig/1.0", host: "api.jetride.org"
    2021/06/15 07:48:34 [error] 1617#1617: *6988678 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/6.5062728/3.3284258 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/6.5062728/3.3284258", host: "api.jetride.org"
    2021/06/15 07:49:51 [error] 1617#1617: *6988680 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/appConfig/1.0 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/appConfig/1.0", host: "api.jetride.org"
    2021/06/15 07:49:51 [error] 1617#1617: *6988681 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 07:49:51 [error] 1617#1617: *6988683 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 07:49:51 [error] 1617#1617: *6988685 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/6.672765/3.27778 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/6.672765/3.27778", host: "api.jetride.org"
    2021/06/15 07:51:19 [error] 1617#1617: *6988688 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:51:25 [error] 1617#1617: *6988690 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:51:28 [error] 1617#1617: *6988692 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:51:30 [error] 1617#1617: *6988694 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:51:31 [error] 1617#1617: *6988696 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:51:33 [error] 1617#1617: *6988698 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:51:35 [error] 1617#1617: *6988700 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:51:36 [error] 1617#1617: *6988700 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:51:43 [error] 1617#1617: *6988703 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/6.5960/3.3856 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/6.5960/3.3856", host: "api.jetride.org"
    2021/06/15 07:51:43 [error] 1617#1617: *6988705 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 07:51:43 [error] 1617#1617: *6988707 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/paystackCard HTTP/1.1", upstream: "http://127.0.0.1:3000/master/paystackCard", host: "api.jetride.org"
    2021/06/15 07:51:52 [error] 1617#1617: *6988709 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:53:07 [error] 1617#1617: *6988711 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:53:08 [error] 1617#1617: *6988713 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:53:10 [error] 1617#1617: *6988715 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:53:11 [error] 1617#1617: *6988717 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 07:53:13 [error] 1617#1617: *6988719 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 08:18:44 [error] 1617#1617: *6988769 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /admin/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/admin/signIn", host: "api.jetride.org"
    2021/06/15 08:18:44 [error] 1617#1617: *6988775 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /admin/dashbord/report/11 HTTP/1.1", upstream: "http://127.0.0.1:3000/admin/dashbord/report/11", host: "api.jetride.org"
    2021/06/15 08:19:07 [error] 1617#1617: *6988865 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /admin/dashbord/report/11 HTTP/1.1", upstream: "http://127.0.0.1:3000/admin/dashbord/report/11", host: "api.jetride.org"
    2021/06/15 08:19:22 [error] 1617#1617: *6988867 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/appConfig/1.0 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/appConfig/1.0", host: "api.jetride.org"
    2021/06/15 08:19:22 [error] 1617#1617: *6988869 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/6.5936976/3.2532925 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/6.5936976/3.2532925", host: "api.jetride.org"
    2021/06/15 08:19:22 [error] 1617#1617: *6988871 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 08:19:22 [error] 1617#1617: *6988873 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 08:19:35 [error] 1617#1617: *6988875 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-06-13 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-06-13", host: "api.jetride.org"
    2021/06/15 08:19:37 [error] 1617#1617: *6988877 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-05-30 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-05-30", host: "api.jetride.org"
    2021/06/15 08:19:38 [error] 1617#1617: *6988879 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-05-23 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-05-23", host: "api.jetride.org"
    2021/06/15 08:19:39 [error] 1617#1617: *6988881 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-05-16 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-05-16", host: "api.jetride.org"
    2021/06/15 08:19:39 [error] 1617#1617: *6988883 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-05-09 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-05-09", host: "api.jetride.org"
    2021/06/15 08:19:40 [error] 1617#1617: *6988885 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-05-02 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-05-02", host: "api.jetride.org"
    2021/06/15 08:19:41 [error] 1617#1617: *6988887 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-04-25 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-04-25", host: "api.jetride.org"
    2021/06/15 08:19:42 [error] 1617#1617: *6988885 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-04-18 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-04-18", host: "api.jetride.org"
    2021/06/15 08:19:42 [error] 1617#1617: *6988890 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-04-04 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-04-04", host: "api.jetride.org"
    2021/06/15 08:19:43 [error] 1617#1617: *6988890 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-03-28 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-03-28", host: "api.jetride.org"
    2021/06/15 08:19:44 [error] 1617#1617: *6988890 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-03-21 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-03-21", host: "api.jetride.org"
    2021/06/15 08:19:45 [error] 1617#1617: *6988894 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-03-14 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-03-14", host: "api.jetride.org"
    2021/06/15 08:19:45 [error] 1617#1617: *6988896 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-03-07 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-03-07", host: "api.jetride.org"
    2021/06/15 08:19:46 [error] 1617#1617: *6988898 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-02-28 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-02-28", host: "api.jetride.org"
    2021/06/15 08:19:47 [error] 1617#1617: *6988900 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-02-21 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-02-21", host: "api.jetride.org"
    2021/06/15 08:19:48 [error] 1617#1617: *6988902 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-02-14 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-02-14", host: "api.jetride.org"
    2021/06/15 08:19:49 [error] 1617#1617: *6988902 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-02-07 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-02-07", host: "api.jetride.org"
    2021/06/15 08:19:49 [error] 1617#1617: *6988902 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-01-31 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-01-31", host: "api.jetride.org"
    2021/06/15 08:19:50 [error] 1617#1617: *6988906 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-01-24 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-01-24", host: "api.jetride.org"
    2021/06/15 08:19:51 [error] 1617#1617: *6988906 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-01-17 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-01-17", host: "api.jetride.org"
    2021/06/15 08:19:52 [error] 1617#1617: *6988909 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-01-10 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-01-10", host: "api.jetride.org"
    2021/06/15 08:19:52 [error] 1617#1617: *6988909 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2021-01-03 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2021-01-03", host: "api.jetride.org"
    2021/06/15 08:19:53 [error] 1617#1617: *6988912 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2020-12-27 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2020-12-27", host: "api.jetride.org"
    2021/06/15 08:19:54 [error] 1617#1617: *6988909 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2020-12-20 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2020-12-20", host: "api.jetride.org"
    2021/06/15 08:19:55 [error] 1617#1617: *6988909 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2020-12-06 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2020-12-06", host: "api.jetride.org"
    2021/06/15 08:19:56 [error] 1617#1617: *6988916 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2020-11-29 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2020-11-29", host: "api.jetride.org"
    2021/06/15 08:19:57 [error] 1617#1617: *6988918 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingHistory/2020-11-22 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingHistory/2020-11-22", host: "api.jetride.org"
    2021/06/15 08:20:02 [error] 1617#1617: *6988920 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 08:20:02 [error] 1617#1617: *6988922 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/6.5937414/3.2534261 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/6.5937414/3.2534261", host: "api.jetride.org"
    2021/06/15 08:21:14 [error] 1617#1617: *6988955 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /customer/appConfig/1 HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/appConfig/1", host: "api.jetride.org"
    2021/06/15 08:21:32 [error] 1617#1617: *6988957 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /customer/appConfig/1 HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/appConfig/1", host: "api.jetride.org"
    2021/06/15 08:35:07 [error] 1644#1644: *16 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "OPTIONS /customer/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/signIn", host: "api.jetride.org", referrer: "https://customer.jetride.org/"
    2021/06/15 08:42:52 [error] 1659#1659: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "OPTIONS /customer/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/signIn", host: "api.jetride.org", referrer: "https://customer.jetride.org/"
    2021/06/15 09:08:44 [error] 1659#1659: *16 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /customer/appConfig/1 HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/appConfig/1", host: "api.jetride.org"
    2021/06/15 09:39:28 [error] 1659#1659: *19 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /customer/phoneValidation HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/phoneValidation", host: "api.jetride.org"
    2021/06/15 09:39:44 [error] 1659#1659: *21 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /customer/phoneValidation HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/phoneValidation", host: "api.jetride.org"
    2021/06/15 09:40:02 [error] 1659#1659: *23 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /customer/emailValidation HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/emailValidation", host: "api.jetride.org"
    2021/06/15 09:40:31 [error] 1659#1659: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /customer/signUp HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/signUp", host: "api.jetride.org"
    2021/06/15 09:40:34 [error] 1659#1659: *27 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /customer/signUp HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/signUp", host: "api.jetride.org"
    2021/06/15 09:40:57 [error] 1659#1659: *29 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /customer/phoneValidation HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/phoneValidation", host: "api.jetride.org"
    2021/06/15 09:40:57 [error] 1659#1659: *29 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /customer/signUp HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/signUp", host: "api.jetride.org"
    2021/06/15 09:41:18 [error] 1659#1659: *32 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /customer/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/signIn", host: "api.jetride.org"
    2021/06/15 09:42:00 [error] 1659#1659: *34 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 09:42:08 [error] 1659#1659: *36 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 09:42:13 [error] 1659#1659: *38 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 09:42:35 [error] 1659#1659: *40 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/forgotPassword HTTP/1.1", upstream: "http://127.0.0.1:3000/master/forgotPassword", host: "api.jetride.org"
    2021/06/15 09:42:37 [error] 1659#1659: *42 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/forgotPassword HTTP/1.1", upstream: "http://127.0.0.1:3000/master/forgotPassword", host: "api.jetride.org"
    2021/06/15 09:42:39 [error] 1659#1659: *44 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/forgotPassword HTTP/1.1", upstream: "http://127.0.0.1:3000/master/forgotPassword", host: "api.jetride.org"
    2021/06/15 09:42:57 [error] 1659#1659: *46 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/forgotPassword HTTP/1.1", upstream: "http://127.0.0.1:3000/master/forgotPassword", host: "api.jetride.org"
    2021/06/15 09:43:00 [error] 1659#1659: *48 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/forgotPassword HTTP/1.1", upstream: "http://127.0.0.1:3000/master/forgotPassword", host: "api.jetride.org"
    2021/06/15 09:43:04 [error] 1659#1659: *50 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/forgotPassword HTTP/1.1", upstream: "http://127.0.0.1:3000/master/forgotPassword", host: "api.jetride.org"
    2021/06/15 09:43:05 [error] 1659#1659: *52 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/forgotPassword HTTP/1.1", upstream: "http://127.0.0.1:3000/master/forgotPassword", host: "api.jetride.org"
    2021/06/15 09:43:06 [error] 1659#1659: *54 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/forgotPassword HTTP/1.1", upstream: "http://127.0.0.1:3000/master/forgotPassword", host: "api.jetride.org"
    2021/06/15 09:43:06 [error] 1659#1659: *56 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/forgotPassword HTTP/1.1", upstream: "http://127.0.0.1:3000/master/forgotPassword", host: "api.jetride.org"
    2021/06/15 09:43:06 [error] 1659#1659: *58 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/forgotPassword HTTP/1.1", upstream: "http://127.0.0.1:3000/master/forgotPassword", host: "api.jetride.org"
    2021/06/15 09:43:06 [error] 1659#1659: *60 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/forgotPassword HTTP/1.1", upstream: "http://127.0.0.1:3000/master/forgotPassword", host: "api.jetride.org"
    2021/06/15 09:43:06 [error] 1659#1659: *62 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/forgotPassword HTTP/1.1", upstream: "http://127.0.0.1:3000/master/forgotPassword", host: "api.jetride.org"
    2021/06/15 09:47:08 [error] 1659#1659: *67 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 09:47:17 [error] 1659#1659: *69 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 09:47:19 [error] 1659#1659: *71 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 10:19:31 [error] 1659#1659: *76 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "OPTIONS /customer/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/customer/signIn", host: "api.jetride.org", referrer: "https://customer.jetride.org/"
    2021/06/15 10:20:46 [error] 1659#1659: *78 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/6.6323/3.3769 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/6.6323/3.3769", host: "api.jetride.org"
    2021/06/15 10:20:46 [error] 1659#1659: *80 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 10:20:46 [error] 1659#1659: *82 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/paystackCard HTTP/1.1", upstream: "http://127.0.0.1:3000/master/paystackCard", host: "api.jetride.org"
    2021/06/15 10:28:50 [error] 1659#1659: *86 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/appConfig/1.0 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/appConfig/1.0", host: "api.jetride.org"
    2021/06/15 10:28:50 [error] 1659#1659: *87 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 10:28:50 [error] 1659#1659: *90 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 10:28:50 [error] 1659#1659: *92 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/6.5145546/3.3635351 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/6.5145546/3.3635351", host: "api.jetride.org"
    2021/06/15 10:29:49 [error] 1659#1659: *94 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/6.5715/3.3674 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/6.5715/3.3674", host: "api.jetride.org"
    2021/06/15 10:29:49 [error] 1659#1659: *96 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/paystackCard HTTP/1.1", upstream: "http://127.0.0.1:3000/master/paystackCard", host: "api.jetride.org"
    2021/06/15 10:29:49 [error] 1659#1659: *98 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 10:45:01 [error] 1659#1659: *134 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /admin/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/admin/signIn", host: "api.jetride.org"
    2021/06/15 10:45:02 [error] 1659#1659: *139 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /admin/dashbord/report/11 HTTP/1.1", upstream: "http://127.0.0.1:3000/admin/dashbord/report/11", host: "api.jetride.org"
    2021/06/15 11:01:06 [error] 1659#1659: *239 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/8.9934/7.3634 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/8.9934/7.3634", host: "api.jetride.org"
    2021/06/15 11:01:06 [error] 1659#1659: *241 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/paystackCard HTTP/1.1", upstream: "http://127.0.0.1:3000/master/paystackCard", host: "api.jetride.org"
    2021/06/15 11:01:06 [error] 1659#1659: *243 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 11:19:47 [error] 1659#1659: *255 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /admin/dashbord/report/11 HTTP/1.1", upstream: "http://127.0.0.1:3000/admin/dashbord/report/11", host: "api.jetride.org"
    2021/06/15 11:20:52 [error] 1659#1659: *257 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/appConfig/2 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/appConfig/2", host: "api.jetride.org"
    2021/06/15 11:21:33 [error] 1659#1659: *259 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/appConfig/2 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/appConfig/2", host: "api.jetride.org"
    2021/06/15 11:22:37 [error] 1659#1659: *261 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/appConfig/2 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/appConfig/2", host: "api.jetride.org"
    2021/06/15 11:22:39 [error] 1659#1659: *263 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/status HTTP/1.1", upstream: "http://127.0.0.1:3000/master/status", host: "api.jetride.org"
    2021/06/15 11:27:32 [error] 1659#1659: *265 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/appConfig/2 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/appConfig/2", host: "api.jetride.org"
    2021/06/15 11:27:34 [error] 1659#1659: *267 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/status HTTP/1.1", upstream: "http://127.0.0.1:3000/master/status", host: "api.jetride.org"
    2021/06/15 11:41:38 [error] 1659#1659: *271 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /admin/dashbord/report/11 HTTP/1.1", upstream: "http://127.0.0.1:3000/admin/dashbord/report/11", host: "api.jetride.org"
    2021/06/15 11:42:44 [error] 1659#1659: *273 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/6.4321707/3.4172003 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/6.4321707/3.4172003", host: "api.jetride.org"
    2021/06/15 11:42:44 [error] 1659#1659: *275 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/appConfig/1.0 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/appConfig/1.0", host: "api.jetride.org"
    2021/06/15 11:42:45 [error] 1659#1659: *277 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 11:46:00 [error] 1659#1659: *282 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/6.4512/3.3887 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/6.4512/3.3887", host: "api.jetride.org"
    2021/06/15 11:46:00 [error] 1659#1659: *284 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/paystackCard HTTP/1.1", upstream: "http://127.0.0.1:3000/master/paystackCard", host: "api.jetride.org"
    2021/06/15 11:46:00 [error] 1659#1659: *285 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    2021/06/15 11:46:40 [error] 1659#1659: *290 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /admin/dashbord/report/11 HTTP/1.1", upstream: "http://127.0.0.1:3000/admin/dashbord/report/11", host: "api.jetride.org"
    2021/06/15 11:46:47 [error] 1659#1659: *294 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /admin/dashbord/report/11 HTTP/1.1", upstream: "http://127.0.0.1:3000/admin/dashbord/report/11", host: "api.jetride.org"
    2021/06/15 11:46:53 [error] 1659#1659: *298 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /admin/dashbord/report/11 HTTP/1.1", upstream: "http://127.0.0.1:3000/admin/dashbord/report/11", host: "api.jetride.org"
    2021/06/15 11:47:00 [error] 1659#1659: *302 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /admin/dashbord/report/11 HTTP/1.1", upstream: "http://127.0.0.1:3000/admin/dashbord/report/11", host: "api.jetride.org"
    2021/06/15 11:49:15 [error] 1659#1659: *304 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "POST /master/signIn HTTP/1.1", upstream: "http://127.0.0.1:3000/master/signIn", host: "api.jetride.org"
    2021/06/15 12:02:35 [error] 1659#1659: *307 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/areaZone/8.9868/7.3640 HTTP/1.1", upstream: "http://127.0.0.1:3000/master/areaZone/8.9868/7.3640", host: "api.jetride.org"
    2021/06/15 12:02:35 [error] 1659#1659: *309 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/paystackCard HTTP/1.1", upstream: "http://127.0.0.1:3000/master/paystackCard", host: "api.jetride.org"
    2021/06/15 12:02:35 [error] 1659#1659: *311 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252, server: api.jetride.org, request: "GET /master/bookingsAssigned HTTP/1.1", upstream: "http://127.0.0.1:3000/master/bookingsAssigned", host: "api.jetride.org"
    
    edited by MattIPv4
  • ##
    # You should look at the following URL's in order to grasp a solid understanding
    # of Nginx configuration files in order to fully unleash the power of Nginx.
    # http://wiki.nginx.org/Pitfalls
    # http://wiki.nginx.org/QuickStart
    # http://wiki.nginx.org/Configuration
    #
    # Generally, you will want to move this file somewhere, and start with a clean
    # file but keep this around for reference. Or just disable in sites-enabled.
    #
    # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
    ##
    
    # Default server configuration
    #
    server {
        listen 80 default_server;
        listen [::]:80 default_server;
    
        # SSL configuration
        #
        # listen 443 ssl default_server;
        # listen [::]:443 ssl default_server;
        #
        # Note: You should disable gzip for SSL traffic.
        # See: https://bugs.debian.org/773332
        #
        # Read up on ssl_ciphers to ensure a secure configuration.
        # See: https://bugs.debian.org/765782
        #
        # Self signed certs generated by the ssl-cert package
        # Don't use them in a production server!
        #
        # include snippets/snakeoil.conf;
    
        root /var/www/html;
    
        # Add index.php to the list if you are using PHP
        index index.php index.html index.htm index.nginx-debian.html;
    
        server_name _;
    
        location / {
            # First attempt to serve request as file, then
            # as directory, then fall back to displaying a 404.
            try_files $uri $uri/ =404;
        }
    
        # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
        #
        location ~ \.php$ {
            include snippets/fastcgi-php.conf;
        #
        #   # With php7.0-cgi alone:
        #   fastcgi_pass 127.0.0.1:9000;
        #   # With php7.0-fpm:
            fastcgi_pass unix:/run/php/php7.0-fpm.sock;
        }
    
        # deny access to .htaccess files, if Apache's document root
        # concurs with nginx's one
        #
        #location ~ /\.ht {
        #   deny all;
        #}
    }
    
    
    # Virtual Host configuration for example.com
    #
    # You can move that to a different file under sites-available/ and symlink that
    # to sites-enabled/ to enable it.
    #
    #server {
    #   listen 80;
    #   listen [::]:80;
    #
    #   server_name example.com;
    #
    #   root /var/www/example.com;
    #   index index.html;
    #
    #   location / {
    #       try_files $uri $uri/ =404;
    #   }
    #}
    
    
    
    
    server {
    
             root /var/www/html/admin;
    
            # Add index.php to the list if you are using PHP
            index index.php index.html index.htm index.nginx-debian.html;
    
            server_name admin.jetride.org;
    
            location / {
                    try_files $uri $uri/ =404;
            }
    
    
    
            # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
            #
            location ~ \.php$ {
                    include snippets/fastcgi-php.conf;
    
                    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
            }
    
            location ~ /\.ht {
                    deny all;
            }
    }
    
    
    server {
    
             root /var/www/html/corporate-admin;
    
            # Add index.php to the list if you are using PHP
            index index.php index.html index.htm index.nginx-debian.html;
    
            server_name institute.jetride.org;
    
            location / {
                    try_files $uri $uri/ =404;
            }
    
    
    
            # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
            #
            location ~ \.php$ {
                    include snippets/fastcgi-php.conf;
    
                    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
            }
    
            location ~ /\.ht {
                    deny all;
            }
    }
    
    
    
    
    server {
            listen 80;
            server_name api.jetride.org;
    
            location / {
                #limit_req zone=one burst=10;
                # limit_conn one 10;
                limit_req_status 429;
    
                proxy_pass http://localhost:3000;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection 'upgrade';
                proxy_set_header Host $host;
                proxy_cache_bypass $http_upgrade;
            }
    }
    
    
    server {
            listen 80 ;
            listen [::]:80 ;
    
            root /var/www/html/bookingRouteImage;
    
            # Add index.php to the list if you are using PHP
            index index.html index.htm index.nginx-debian.html;
    
            server_name routeimages.jetride.org;
    
            location / {
                    try_files $uri $uri/ =404;
            }
    
            # deny access to .htaccess files, if Apache's document root
            # concurs with nginx's one
            #
            location ~ /\.ht {
                    deny all;
            }
    }
    
    
    server {
            listen 80;
            listen [::]:80;
            server_name driver-portal.jetride.org;
            root /var/www/html/driver-portal;
            index index.html index.php;
            location / {
                    try_files $uri $uri/ =404;
            }
            location ~ \.php$ {
                    include snippets/fastcgi-php.conf;
    
                    # With php7.0-cgi alone: fastcgi_pass 127.0.0.1:9000; With php7.0-fpm:
                    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
            }
    }
    
    
    server {
            listen 80;
            listen [::]:80;
            server_name livetrack.jetride.org;
            root /var/www/html/livetrack;
            index index.html index.php;
            location / {
                    try_files $uri $uri/ =404;
            }
            location ~ \.php$ {
                    include snippets/fastcgi-php.conf;
    
                    # With php7.0-cgi alone: fastcgi_pass 127.0.0.1:9000; With php7.0-fpm:
                    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
            }
    }
    
    
    server {
            listen 80;
            listen [::]:80;
            server_name birdsview.jetride.org;
            root /var/www/html/godsview;
            index index.html;
            location / {
                    try_files $uri $uri/ =404;
            }
            location ~ \.php$ {
                    include snippets/fastcgi-php.conf;
    
                    # With php7.0-cgi alone: fastcgi_pass 127.0.0.1:9000; With php7.0-fpm:
                    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
            }
    }
    
    
    server {
            listen 80;
            listen [::]:80;
            server_name payment.jetride.org;
            root /var/www/html/payment;
            index index.html index.php;
            location / {
                    try_files $uri $uri/ =404;
            }
            location ~ \.php$ {
                    include snippets/fastcgi-php.conf;
    
                    # With php7.0-cgi alone: fastcgi_pass 127.0.0.1:9000; With php7.0-fpm:
                    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
            }
    }
    
    server {
            listen 80;
            listen [::]:80;
            server_name customer.jetride.org;
            root /var/www/html/customer;
            index index.html index.php;
            location / {
                    try_files $uri $uri/ =404;
            }
            location ~ \.php$ {
                    include snippets/fastcgi-php.conf;
    
                    # With php7.0-cgi alone: fastcgi_pass 127.0.0.1:9000; With php7.0-fpm:
                    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
            }
    }
    server {
            listen 80;
            listen [::]:80;
            server_name dispatcher.jetride.org;
            root /var/www/html/dispatcher;
            index index.html index.php;
            location / {
                    try_files $uri $uri/ =404;
            }
            location ~ \.php$ {
                    include snippets/fastcgi-php.conf;
    
                    # With php7.0-cgi alone: fastcgi_pass 127.0.0.1:9000; With php7.0-fpm:
                    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
            }
    }
    
    
    server {
    
             root /var/www/html/operator-admin;
    
            # Add index.php to the list if you are using PHP
            index index.php index.html index.htm index.nginx-debian.html;
    
            server_name operator.jetride.org;
    
            location / {
                    try_files $uri $uri/ =404;
            }
    
    
    
            # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
            #
            location ~ \.php$ {
                    include snippets/fastcgi-php.conf;
    
                    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
            }
    
            location ~ /\.ht {
                    deny all;
            }
    }
    
    
    server {
            listen 80;
            listen [::]:80;
            server_name driver.jetride.org;
            root /var/www/html/driver-admin;
            index index.php;
            location / {
                    try_files $uri $uri/ =404;
            }
            location ~ \.php$ {
                    include snippets/fastcgi-php.conf;
    
                    # With php7.0-cgi alone: fastcgi_pass 127.0.0.1:9000; With php7.0-fpm:
                    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
            }
    }
    
    server {
            listen 80;
            listen [::]:80;
            server_name heatmap.jetride.org;
            location / {
                #limit_req zone=one burst=10;
                # limit_conn one 10;
                limit_req_status 429;
                proxy_pass http://localhost:8000;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection 'upgrade';
                proxy_set_header Host $host;
                proxy_cache_bypass $http_upgrade;
            }
    }
    
    edited by MattIPv4
    • Hi there @truthegbele4u,

      It looks like that the service on port 3000 is not running.

      In order to fix that error, you would need to start the service. This would depend on your exact setup, for example it could be a docker container which you might have to start with the docker start container_id command or it could be a Node.js application which you would need to restart, but this would really be specific to your setup.

      One thing that you could try doing is to run the history command on your server so that you could see what commands have been ran in the past and possibly find the command the way that the service was started in the past.

      Let me know how it goes.
      Regards,
      Bobby

      • Problem is i have no Idea how the server was configured. i cant reach my developers and currently my app shows bad gateway. i tried making some research on how to restart the node.js based on the hint you gave, it was working but could not get it so i did the history command and got this

        https://ibb.co/cv6ncnj

        • Hi there @truthegbele4u,

          Unfortunately, the screen only shows the last ~20 entries from the history. What you could do is use SSH to connect to the Droplet and you will be able to see the whole log as you will be able to scroll up and down:

          https://docs.digitalocean.com/products/droplets/how-to/connect-with-ssh/

          It seems that the service on port 3000 might be a node application, so you would need to start the node service in order to get it up and running.

          Let me know how it goes!
          Regards,
          Bobby

          • Hello Bobby, thanks for your help so far. so i was able to log in with putty and this is the history i got but trust me i am a novice with stuff like this

            root@JetRide-Karry-AppServer:~# history
              835  forever list
              836  ps aux | grep js
              837  killall node
              838  forever start index.js
              839  forever list
              840  cd /var/www/html
              841  nano /etc/nginx/sites-available/default
              842  service nginx restart
              843  nano /etc/nginx/sites-available/default
              844  cd /var/www/html/
              845  ls
              846  mkdir heatmap
              847  sudo chmod -R 777 heatmap/
              848  ls
              849  cd heatmap/
              850  ls
              851  unzip Jetride.zip
              852  ls
              853  rm -rf Jetride.zip
              854  virtualenv -p python3 env
              855  apt install virtualenv
              856  virtualenv -p python3 env
              857  ls
              858  . env/bin/activate
              859  sudo chmod -R 777 Jetride/
              860  ls
              861  cd Jetride/
              862  pip3 install -r requirements.txt
              863  pip3 install django
              864  pip3 install requests
              865  python3 manage.py runserver 0.0.0.0:8000
              866  ls
              867  cd Jetride/
              868  ls
              869  nano settings.py
              870  cd ..
              871  cd jetride_app/
              872  ls
              873  nano views.py
              874  cd templates/
              875  ls
              876  cd Heat/
              877  nano dashboard.html
              878  python3 manage.py runserver 0.0.0.0:8000
              879  cd ..
              880  ls
              881  cd Jetride/
              882  python3 manage.py runserver 0.0.0.0:8000
              883  ufw status
              884  ufw allow 8000
              885  python3 manage.py runserver 0.0.0.0:8000
              886  nohup python3 manage.py runserver 0.0.0.0:8000>/dev/null 2>&1&
              887  nano /etc/nginx/sites-available/default
              888  cd /var/www/html/api
              889  forever list
              890  killall node
              891  nodemon index.js
              892  killall node
              893  clear
              894  forever start index.js
              895  forever list
              896  sudo su
              897  free -m
              898  cd /var/www/html/api
              899  forever list
              900  killall node
              901  nodemon index.js
              902  killall node
              903  forever start index.js
              904  cd ..
              905  ls
              906  cd /var/www/html/api
              907  forever list
              908  killall node
              909  forever start index.js
              910  forever list
              911  sudo su
              912  cd /var/www/html/api
              913  forever list
              914  tail -f  /root/.forever/yn8D.log
              915  cd ..
              916  ls
              917  rm -rf api.zip
              918  zip -r api1.zip api
              919  cd /var/www/html/api
              920  forever list
              921  forever stop index.js
              922  killall node
              923  nodemon index.js
              924  killall node
              925  forever start index.js
              926  forever list
              927  sudo su]
              928  sudo su
              929  cd /var/www/html/api
              930  forever list
              931  killall node
              932  forever start index.js
              933  forever list
              934  tail -f  /root/.forever/n6mu.log
              935  cd /var/www/html/api
              936  forever list
              937  forever restart index.js
              938  forever list
              939  sudo su
              940  cd /var/www/html/api
              941  forever list
              942  tail  -f /root/.forever/n6mu.log
              943  nano /var/env/.envdev
              944  cd /var/www/html/api
              945  forever list
              946  tail -f  /root/.forever/n6mu.log
              947  free -m
              948  sudo su
              949  cd /var/www/html/api
              950  forever list
              951  tail -f  /root/.forever/n6mu.log
              952  sudo su
              953  cd /var/www/html/api
              954  forever list
              955  tail -f /root/.forever/n6mu.log
              956  sudo su
              957  cd /var/www/html/api
              958  forever list
              959  tail -f  /root/.forever/n6mu.log
              960  nano web/router/customer/support/get.js
              961  tail -f  /root/.forever/n6mu.log
              962  nano web/router/customer/support/get.js
              963  forever restart index.js
              964  tail -f  /root/.forever/n6mu.log
              965  nano web/router/customer/support/get.js
              966  tail -f  /root/.forever/n6mu.log
              967  nano web/router/customer/support/router.js
              968  forever restart index.js
              969  tail -f  /root/.forever/n6mu.l
              970  tail -f  /root/.forever/n6mu.log
              971  nano web/router/customer/support/router.js
              972  nano web/router/customer/support/get.js
              973  forever restart index.js
              974  tail -f  /root/.forever/n6mu.log
              975  nano web/router/customer/support/get.js
              976  forever restart index.js
              977  tail -f  /root/.forever/n6mu.log
              978  nano web/router/customer/support/router.js
              979  forever restart index.js
              980  tail -f  /root/.forever/n6mu.log
              981  cd /var/www/html/api
              982  nano worker/wallet/wallet.js
              983  sudo su
              984  cd /var/www/html/api
              985  forever list
              986  tail -f  /root/.forever/n6mu.log
              987  forever list
              988  cd /var/www/html/api
              989  forever list
              990  tail -f /root/.forever/n6mu.log
              991  nano /var/env/.envdev
              992  forever restart index.js
              993  tail -f /root/.forever/n6mu.log
              994  sudo su
              995  cd /var/www/html/api
              996  forever list
              997  tail -f  /root/.forever/n6mu.log
              998  cd /var/www/html/api
              999  cd ..
             1000  nano admin/application/views/vehicleSettings/vehicles/add.php
             1001  sudo su
             1002  cd /var/www/html/api
             1003  forever list
             1004  tail -f /root/.forever/n6mu.log
             1005  cd /var/www/html/api
             1006  forever restart index.js
             1007  tail -f  /root/.forever/n6mu.log
             1008  forever restart index.js
             1009  tail -f  /root/.forever/n6mu.log
             1010  forever restart index.js
             1011  tail -f  /root/.forever/n6mu.log
             1012  sudo su
             1013  cd /var/www/html/api
             1014  forever list
             1015  tail -f  /root/.forever/n6mu.log
             1016  sudo su
             1017  cd /var/www/html/api
             1018  forever list
             1019  tail -f  /root/.forever/n6mu.log
             1020  nano /var/env/.envdev
             1021  tail -f  /root/.forever/n6mu.log
             1022  forever restart index.js
             1023  tail -f /root/.forever/n6mu.log
             1024  tail -f  /root/.forever/n6mu.log
             1025  forever restart index.js
             1026  tail -f  /root/.forever/n6mu.log
             1027  forever restart index.js
             1028  tail -f  /root/.forever/n6mu.log
             1029  forever restart index.js
             1030  tail -f  /root/.forever/n6mu.log
             1031  forever restart index.js
             1032  tail -f /root/.forever/n6mu.log
             1033  cd /var/www/html/api
             1034  forever list
             1035  tail -f  /root/.forever/n6mu.log
             1036  forever restart index.js
             1037  tail -f /root/.forever/n6mu.log
             1038  forever restart index.js
             1039  tail -f /root/.forever/n6mu.log
             1040  sudo su
             1041  cd /var/www/html/api
             1042  forever list
             1043  tail -f  /root/.forever/n6mu.log
             1044  forever restart index.js
             1045  tail -f /root/.forever/n6mu.log
             1046  forever restart index.js
             1047  tail -f /root/.forever/n6mu.log
             1048  forever restart index.js
             1049  tail -f /root/.forever/n6mu.log
             1050  forever restart index.js
             1051  tail -f /root/.forever/n6mu.log
             1052  forever restart index.js
             1053  tail -f /root/.forever/n6mu.log
             1054  forever restart index.js
             1055  nano /var/env/.envdev
             1056  forever restart index.js
             1057  tail -f /root/.forever/n6mu.log
             1058  nano /var/env/.envdev
             1059  tail -f /root/.forever/n6mu.log
             1060  forever restart index.js
             1061  tail -f /root/.forever/n6mu.log
             1062  nano /var/env/.envdev
             1063  forever restart index.js
             1064  tail -f /root/.forever/n6mu.log
             1065  forever restart index.js
             1066  tail -f /root/.forever/n6mu.log
             1067  forever restart index.js
             1068  tail -f /root/.forever/n6mu.log
             1069  sudo su
             1070  cd /var/www/html/api
             1071  forever list
             1072  tail -f /root/.forever/n6mu.log
             1073  SUDO SU
             1074  sudo su
             1075  cd /var/www/html/api
             1076  forever restart index.jjs
             1077  forever restart index.js
             1078  tail -f  /root/.forever/n6mu.log
             1079  sudo su
             1080  nano /var/env/.envdev
             1081  liq9cjhn21rs3mknu8xgjvnej
             1082  nano /etc/nginx/sites-available/default
             1083  free -m
             1084  sudo su
             1085  cd /var/www/html/api
             1086  forever list
             1087  tail -f /root/.forever/n6mu.log
             1088  sudo su
             1089  cd /var/www/html/api
             1090  forever list
             1091  forever start index.js
             1092  forever list
             1093  tail -f /root/.forever/oAFR.log
             1094  sudo su
             1095  cd /var/www/html/api
             1096  nano /var/env/.envdev
             1097  sudo su
             1098  cd /var/www/html/
             1099  nano /var/env/.envdev
             1100  cd api
             1101  forever restart index.js
             1102  sudo su
             1103  cd /var/www/html/
             1104  ls
             1105  cd admin
             1106  ls
             1107  cd application/
             1108  ls
             1109  nano models/Driversmodal.php
             1110  nano libraries/Datatables.php
             1111  nano models/Driversmodal.php
             1112  nano libraries/Datatables.php
             1113  nano models/Driversmodal.php
             1114  nano libraries/Datatables.php
             1115  nano models/Driversmodal.php
             1116  cd /var/www/html/api
             1117  forever list
             1118  tail -f /root/.forever/oAFR.log
             1119  sudo su
             1120  cd /var/www/html/
             1121  nano /var/env/.envdev
             1122  cd api
             1123  forever restart index.js
             1124  sudo su
             1125  nano /var/env/.envdev
             1126  sudo su
             1127  cd /var/www/html/api
             1128  forever list
             1129  tail -f /root/.forever/oAFR.log
             1130  forever restart index.js
             1131  tail -f /root/.forever/oAFR.log
             1132  sudo su
             1133  cd /var/www/html/api
             1134  forever restart index.js
             1135  tail -f /root/.forever/oAFR.log
             1136  cd /var/www/html/api
             1137  forever restart index.js
             1138  tail -f /root/.forever/oAFR.log
             1139  sudo su
             1140  cd /var/www/html/api
             1141  forever list
             1142  tail -f /root/.forever/oAFR.log
             1143  sudo su
             1144  cd /var/www/html/api
             1145  forever list
             1146  tail -f /root/.forever/oAFR.log
             1147  forever restart index.js
             1148  tail -f /root/.forever/oAFR.log
             1149  sudo su
             1150  cd /var/www/html/api
             1151  forever list
             1152  tail -f /root/.forever/oAFR.log
             1153  nano /var/env/.envdev
             1154  forever restart index.js
             1155  tail -f /root/.forever/oAFR.log
             1156  forever restart index.js
             1157  nano /var/env/.envdev
             1158  cd /var/www/html/api
             1159  forever list
             1160  tail  -f /root/.forever/oAFR.log
             1161  sudo su
             1162  cd /var/www/html/api
             1163  forever list
             1164  tail -f /root/.forever/oAFR.log
             1165  forever restart index.js
             1166  tail -f /root/.forever/oAFR.log
             1167  sudo su
             1168  cd /var/www/html/api
             1169  forever list
             1170  tail -f /root/.forever/oAFR.log
             1171  sudo su
             1172  cd /var/www/html/
             1173  ls
             1174  cd /var/www/html/api
             1175  forever list
             1176  tail -f /root/.forever/oAFR.log
             1177  forever restart index.js
             1178  tail -f /root/.forever/oAFR.log
             1179  sudo su
             1180  sudo suy
             1181  sudo su
             1182  cd /var/www/html/api
             1183  forever list
             1184  tail -f /root/.forever/oAFR.log
             1185  cd /var/www/html/api
             1186  forever list
             1187  tail -f /root/.forever/oAFR.log
             1188  forever list
             1189  forever restart index.js
             1190  tail -f /root/.forever/oAFR.log
             1191  forever restart index.js
             1192  tail -f /root/.forever/oAFR.log
             1193  forever restart index.js
             1194  tail -f /root/.forever/oAFR.log
             1195  forever restart index.js
             1196  tail -f /root/.forever/oAFR.log
             1197  forever restart index.js
             1198  tail -f /root/.forever/oAFR.log
             1199  forever restart index.js
             1200  tail -f /root/.forever/oAFR.log
             1201  forever restart index.js
             1202  tail -f /root/.forever/oAFR.log
             1203  sudo su
             1204  cd /var/www/html/api
             1205  forever list
             1206  tail -f /root/.forever/oAFR.log
             1207  cd /var/www/html/api
             1208  forever list
             1209  tail -f /root/.forever/oAFR.log
             1210  sudo su
             1211  cd /var/www/html/api
             1212  cd ..
             1213  ls
             1214  cd api
             1215  forever lisr
             1216  forever list
             1217  tail -f /root/.forever/oAFR.log
             1218  forever restart index.js
             1219  tail -f /root/.forever/oAFR.log
             1220  forever restart index.js
             1221  tail -f /root/.forever/oAFR.log
             1222  forever restart index.js
             1223  tail -f /root/.forever/oAFR.log
             1224  forever restart index.js
             1225  tail -f /root/.forever/oAFR.log
             1226  forever restart index.js
             1227  tail -f /root/.forever/oAFR.log
             1228  forever restart index.js
             1229  tail -f /root/.forever/oAFR.log
             1230  sudo su
             1231  nano /var/env/.envdev
             1232  sudos u
             1233  sudo su
             1234  cd /var/www/html/api
             1235  forever restart index.js
             1236  tail -f /root/.forever/oAFR.log
             1237  forever restart index.js
             1238  tail -f /root/.forever/oAFR.log
             1239  sudo su
             1240  cd /var/www/html/api
             1241  forever restart index.js
             1242  sudo su
             1243  cd /var/www/html/api
             1244  forever list
             1245  tail -f /root/.forever/oAFR.log
             1246  nano /var/env/.envdev
             1247  tail -f /root/.forever/oAFR.log
             1248  nano /var/env/.envdev
             1249  tail -f /root/.forever/oAFR.log
             1250  cd /var/www/html/api
             1251  forever list
             1252  tail -f /root/.forever/oAFR.log
             1253  forever restart index.js
             1254  sudo su
             1255  cd /var/www/html/api
             1256  forever restart index.js
             1257  tail -f /root/.forever/oAFR.log
             1258  forever restart index.js
             1259  tail -f /root/.forever/oAFR.log
             1260  sudo su
             1261  cd /var/www/html/api
             1262  forever list
             1263  tail -f /root/.forever/oAFR.log
             1264  forever restart index.js
             1265  tail -f /root/.forever/oAFR.log
             1266  forever restart index.js
             1267  tail -f /root/.forever/oAFR.log
             1268  forever restart index.js
             1269  tail -f /root/.forever/oAFR.log
             1270  forever restart index.js
             1271  tail -f /root/.forever/oAFR.log
             1272  forever restart index.js
             1273  tail -f /root/.forever/oAFR.log
             1274  sudo su
             1275  cd /var/www/html/api
             1276  forever list
             1277  forever restart index.js
             1278  tail -f /root/.forever/oAFR.log
             1279  forever restart index.js
             1280  tail -f /root/.forever/oAFR.log
             1281  forever restart index.js
             1282  tail -f /root/.forever/oAFR.log
             1283  forever restart index.js
             1284  tail -f /root/.forever/oAFR.log
             1285  sudo su
             1286  cd /var/www/html/api
             1287  forever list
             1288  tail -f /root/.forever/oAFR.log
             1289  forever restart index.js
             1290  tail -f /root/.forever/oAFR.log
             1291  forever restart index.js
             1292  tail -f /root/.forever/oAFR.log
             1293  forever restart index.js
             1294  tail -f /root/.forever/oAFR.log
             1295  forever restart index.js
             1296  tail -f /root/.forever/oAFR.log
             1297  forever restart index.js
             1298  tail -f /root/.forever/oAFR.log
             1299  sudo su
             1300  cd /var/www/html/api
             1301  forever list
             1302  tail -f /root/.forever/oAFR.log
             1303  sudo su
             1304  cd /var/www/html/addmin/
             1305  cd /var/www/html/admin/emailComfirm/js/
             1306  nano index.js
             1307  cd ../../..
             1308  cd api
             1309  forever list
             1310  tail -f /root/.forever/oAFR.log
             1311  forever restart index.js
             1312  tail -f /root/.forever/oAFR.log
             1313  forever restart index.js
             1314  tail -f /root/.forever/oAFR.log
             1315  forever restart index.js
             1316  tail -f /root/.forever/oAFR.log
             1317  forever restart index.js
             1318  tail -f /root/.forever/oAFR.log
             1319  forever restart index.js
             1320  tail -f /root/.forever/oAFR.log
             1321  forever restart index.js
             1322  tail -f /root/.forever/oAFR.log
             1323  forever restart index.js
             1324  tail -f /root/.forever/oAFR.log
             1325  nano package.json
             1326  forever restart index.js
             1327  tail -f /root/.forever/oAFR.log
             1328  forever restart index.js
             1329  tail -f /root/.forever/oAFR.log
             1330  forever restart index.js
             1331  tail -f /root/.forever/oAFR.log
             1332  forever restart index.js
             1333  tail -f /root/.forever/oAFR.log
             1334  forever restart index.js
             1335  tail -f /root/.forever/oAFR.log
             1336  forever restart index.js
             1337  tail -f /root/.forever/oAFR.log
             1338  nano /var/env/.envdev
             1339  forever restart index.js
             1340  tail -f /root/.forever/oAFR.log
             1341  nano /var/env/.envdev
             1342  forever restart index.js
             1343  tail -f /root/.forever/oAFR.log
             1344  forever restart index.js
             1345  tail -f /root/.forever/oAFR.log
             1346  sudo su
             1347  cd /var/www/html/api
             1348  forever list
             1349  tail -f /root/.forever/oAFR.log
             1350  forever list
             1351  forever restart index.js
             1352  tail -f /root/.forever/oAFR.log
             1353  forever restart index.js
             1354  tail -f /root/.forever/oAFR.log
             1355  forever restart index.js
             1356  tail -f /root/.forever/oAFR.log
             1357  forever restart index.js
             1358  tail -f /root/.forever/oAFR.log
             1359  sudo su
             1360  cd /var/www/html/api
             1361  forever list
             1362  tail -f /root/.forever/oAFR.log
             1363  forever restart index.js
             1364  tail -f /root/.forever/oAFR.log
             1365  cd /var/www/html/api
             1366  forever list
             1367  forever restart index.js
             1368  tail -f /root/.forever/oAFR.log
             1369  sudo su
             1370  sudo su
             1371  cd /var/www/html/api
             1372  forever list
             1373  tail -f /root/.forever/oAFR.log
             1374  forever restart index.js
             1375  tail -f /root/.forever/oAFR.log
             1376  sudo su
             1377  cd /var/www/html/api
             1378  forever list
             1379  tail -f /root/.forever/oAFR.log
             1380  forever restart index.js
             1381  tail -f /root/.forever/oAFR.log
             1382  forever restart index.js
             1383  tail -f /root/.forever/oAFR.log
             1384  forever restart index.js
             1385  tail -f /root/.forever/oAFR.log
             1386  cd /var/www/html/api
             1387  forever restart index.js
             1388  tail -f /root/.forever/oAFR.log
             1389  forever restart index.js
             1390  tail -f /root/.forever/oAFR.log
             1391  forever restart index.js
             1392  tail -f /root/.forever/oAFR.log
             1393  cd /var/www/html/api
             1394  forever list
             1395  tail -f /root/.forever/oAFR.log
             1396  nano /var/env/.envdev
             1397  sudo su
             1398  nano /var/env/.envdev
             1399  cd /var/www/html/
             1400  ld
             1401  ls
             1402  cd payment/
             1403  ld
             1404  ls
             1405  nano index.php
             1406  cd /var/www/html/api
             1407  forever lis
             1408  forever list
             1409  tail -f /root/.forever/oAFR.log
             1410  nano /var/env/.envdev
             1411  forever restart index.js
             1412  tail -f /root/.forever/oAFR.log
             1413  sudo su
             1414  nano /var/env/.envdev
             1415  cd /var/www/html/
             1416  ls
             1417  cd payment/
             1418  ls
             1419  nano config.php
             1420  nano index.js
             1421  nano index.php
             1422  cd ..
             1423  cd api
             1424  forever list
             1425  tail -f /root/.forever/oAFR.log
             1426  sudo su
             1427  cd /var/www/html/api
             1428  forever list
             1429  tail -f /root/.forever/oAFR.log
             1430  forever restart index.js
             1431  tail -f /root/.forever/oAFR.log
             1432  sudo su
             1433  cd /var/www/html/api
             1434  forever list
             1435  tail -f /root/.forever/oAFR.log
             1436  forever restart index.js
             1437  tail -f /root/.forever/oAFR.log
             1438  nano /var/env/.envdev
             1439  tail -f /root/.forever/oAFR.log
             1440  sudo su
             1441  cd /var/www/html/api
             1442  forever list
             1443  tail -f /root/.forever/oAFR.log
             1444  sudo su
             1445  cd /var/www/html/api
             1446  forever list
             1447  tail -f /root/.forever/oAFR.log
             1448  sudo su
             1449  nano /var/env/.envdev
             1450  forever list
             1451  tail -f /root/.forever/oAFR.log
             1452  cd /var/www/html/api
             1453  forever restart index.js
             1454  tail -f /root/.forever/oAFR.log
             1455  forever restart index.js
             1456  tail -f /root/.forever/oAFR.log
             1457  forever restart index.js
             1458  tail -f /root/.forever/oAFR.log
             1459  forever restart index.js
             1460  tail -f /root/.forever/oAFR.log
             1461  forever restart index.js
             1462  tail -f /root/.forever/oAFR.log
             1463  forever restart index.js
             1464  tail -f /root/.forever/oAFR.log
             1465  forever restart index.js
             1466  tail -f /root/.forever/oAFR.log
             1467  forever restart index.js
             1468  tail -f /root/.forever/oAFR.log
             1469  cd /var/www/html/api
             1470  forever list
             1471  tail -f /root/.forever/oAFR.log
             1472  nano /etc/nginx/sites-available/default
             1473  sudo su
             1474  ll
             1475  cd /var/www/html/
             1476  ll
             1477  cd heatmap/
             1478  ll
             1479  . env/bin/activate
             1480  cd Jetride/
             1481  ll
             1482  python manage.py runserver 0.0.0.0:8000
             1483  nohup python3 manage.py runserver 0.0.0.0:8000 >/dev/null 2>&1 &
             1484  sudo su
             1485  cd /var/www/html/api
             1486  forever list
             1487  tail -f /root/.forever/oAFR.log
             1488  free -m
             1489  killall node
             1490  forever start index.js
             1491  cd ..
             1492  ls
             1493  forever list
             1494  tail -f /root/.forever/AD2o.log
             1495  free -m
             1496  tail -f /root/.forever/AD2o.log
             1497  nano /var/env/.envdev
             1498  cd api
             1499  forever list
             1500  tail -f /root/.forever/AD2o.log
             1501  forever restart index.js
             1502  tail -f /root/.forever/AD2o.log
             1503  forever restart index.js
             1504  tail -f /root/.forever/AD2o.log
             1505  forever restart index.js
             1506  tail -f /root/.forever/AD2o.log
             1507  forever restart index.js
             1508  tail -f /root/.forever/AD2o.log
             1509  nano /var/env/.envdev
             1510  tail -f /root/.forever/AD2o.log
             1511  nano /var/env/.envdev
             1512  tail -f /root/.forever/AD2o.log
             1513  nano /var/env/.envdev
             1514  tail -f /root/.forever/AD2o.log
             1515  forever restart index.js
             1516  tail -f /root/.forever/AD2o.log
             1517  forever restart index.js
             1518  tail -f /root/.forever/AD2o.log
             1519  sudo su
             1520  cd /var/www/html/api
             1521  foreveer list
             1522  forever list
             1523  tail -f /root/.forever/AD2o.log
             1524  forever restart index.js
             1525  tail -f /root/.forever/AD2o.log
             1526  sudo su
             1527  nano /var/env/.envdev
             1528  cd /var/www/html/api
             1529  forever list
             1530  tail -f /root/.forever/AD2o.log
             1531  forever restart index.js
             1532  tail -f /root/.forever/AD2o.log
             1533  forever restart index.js
             1534  tail -f /root/.forever/AD2o.log
             1535  forever restart index.js
             1536  tail -f /root/.forever/AD2o.log
             1537  nano /var/env/.envdev
             1538  forever restart index.js
             1539  tail -f /root/.forever/AD2o.log
             1540  nano /var/env/.envdev
             1541  curl  "https://jetridehelp.zendesk.com/api/v2/user_profiles?identifier=company:contact:email:jane@example.com"   -v -u info@jetridetaxi.com:08138820936
             1542  forever restart index.js
             1543  tail -f /root/.forever/AD2o.log
             1544  forever restart index.js
             1545  tail -f /root/.forever/AD2o.log
             1546  sudo su
             1547  cd /var/www/html/api
             1548  forever list
             1549  tail -f /root/.forever/AD2o.log
             1550  forever restart index.js
             1551  tail -f /root/.forever/AD2o.log
             1552  sudo su
             1553  cd /var/www/html/api
             1554  cd ..
             1555  cd admin
             1556  nano application/config/config.php
             1557  cd ..
             1558  cd api
             1559  forever list
             1560  tail -f /root/.forever/AD2o.log
             1561  sudo su
             1562  cd /var/www/html/api
             1563  forever list
             1564  tail -f /root/.forever/AD2o.log
             1565  forever restart index.js
             1566  tail -f /root/.forever/AD2o.log
             1567  cd /var/www/html/
             1568  ls
             1569  cd heatmap/
             1570  ls
             1571  nano env
             1572  cd env/
             1573  ls
             1574  cd ..
             1575  cd Jetride/
             1576  ls
             1577  nano manage.py
             1578  cd ..
             1579  cd .
             1580  cd ..
             1581  cd api
             1582  forever list
             1583  tail -f /root/.forever/AD2o.log
             1584  forever restart index.js
             1585  tail -f /root/.forever/AD2o.log
             1586  cd .
             1587  cd ..
             1588  ls
             1589  cd payment/
             1590  ls
             1591  forever list
             1592  nano index.
             1593  nano index.js
             1594  nano index.php
             1595  nano composer.json
             1596  nano config.php
             1597  nano index.js
             1598  nano success.php
             1599  sudo su
             1600  forever list
             1601  tail -f /root/.forever/AD2o.log
             1602  cd /var/www/html/api
             1603  forever list
             1604  tial -f /root/.forever/AD2o.log
             1605  tail -f /root/.forever/AD2o.log
             1606  ps aux | grep node
             1607  forever restart index.js
             1608  ps aux | grep node
             1609  tail -f /root/.forever/AD2o.log
             1610  ps aux | grep node
             1611  forever restart index.js
             1612  tail -f /root/.forever/AD2o.log
             1613  ps aux | grep node
             1614  forever stop index.js
             1615  ps aux | grep node
             1616  forever start index.js
             1617  forever list
             1618  ps aux | grep node
             1619  forever list
             1620  tail -f /root/.forever/NX4D.log
             1621  forever restart index.js
             1622  ps aux | grep node
             1623  tail -f /root/.forever/NX4D.log
             1624  forever restart index.js
             1625  tail -f /root/.forever/NX4D.log
             1626  forever restart index.js
             1627  tail -f /root/.forever/NX4D.log
             1628  forever restart index.js
             1629  tail -f /root/.forever/NX4D.log
             1630  forever restart index.js
             1631  tail -f /root/.forever/NX4D.log
             1632  forever restart index.js
             1633  tail -f /root/.forever/NX4D.log
             1634  forever restart index.js
             1635  tail -f /root/.forever/NX4D.log
             1636  sudo su
             1637  cd /var/www/html/api
             1638  forever list
             1639  tail -f /root/.forever/AD2o.log
             1640  forever restart index.js
             1641  tail -f /root/.forever/AD2o.log
             1642  nano /var/env/.envdev
             1643  sudo su
             1644  cd /var/www/html/api
             1645  forever list
             1646  tail -f /root/.forever/NX4D.log
             1647  forever restart index.js
             1648  tail -f /root/.forever/NX4D.log
             1649  sudo su
             1650  cd /var/www/html/api
             1651  forever list
             1652  tail -f /root/.forever/NX4D.log
             1653  forever restart  index.js
             1654  tail -f /root/.forever/NX4D.log
             1655  forever restart index.js
             1656  tail -f /root/.forever/NX4D.log
             1657  sudo su
             1658  cd /var/www/html/api
             1659  forever list
             1660  tail -f /root/.forever/NX4D.log
             1661  forever restart index.js
             1662  tail -f /root/.forever/NX4D.log
             1663  forever restart index.js
             1664  tail -f /root/.forever/NX4D.log
             1665  forever restart index.js
             1666  tail -f /root/.forever/NX4D.log
             1667  forever restart index.js
             1668  tail -f /root/.forever/NX4D.log
             1669  forever restart index.js
             1670  tail -f /root/.forever/NX4D.log
             1671  sudo su
             1672  cd /var/www/html/api
             1673  forever list
             1674  tail -f /root/.forever/NX4D.log
             1675  forever stop index.js
             1676  forever start index.js
             1677  forever list
             1678  tail -f /root/.forever/EEMO.log
             1679  cd /var/www/html/api
             1680  forever listr
             1681  forever list
             1682  tail -f /root/.forever/EEMO.log
             1683  forever restart index.js
             1684  tail -f /root/.forever/EEMO.log
             1685  forever restart index.js
             1686  tail -f /root/.forever/EEMO.log
             1687  forever restart index.js
             1688  tail -f /root/.forever/EEMO.log
             1689  forever restart index.js
             1690  tail -f /root/.forever/EEMO.log
             1691  forever restart index.js
             1692  tail -f /root/.forever/EEMO.log
             1693  forever restart index.js
             1694  tail -f /root/.forever/EEMO.log
             1695  sudo su
             1696  cd /var/www/html/api
             1697  forever list
             1698  tail -f /root/.forever/EEMO.log
             1699  forever restart index.js
             1700  tail -f /root/.forever/EEMO.log
             1701  sudo su
             1702  cd /var/www/html/api
             1703  forever list
             1704  tail -f /root/.forever/EEMO.log
             1705  forever restart index.js
             1706  tail -f /root/.forever/EEMO.log
             1707  forever restart index.js
             1708  tail -f /root/.forever/EEMO.log
             1709  forever restart index.js
             1710  tail -f /root/.forever/EEMO.log
             1711  sudo su
             1712  cd /var/www/html/api
             1713  forever list
             1714  tail -f /root/.forever/EEMO.log
             1715  forever restart index.js
             1716  tail -f /root/.forever/EEMO.log
             1717  forever restart index.js
             1718  tail -f /root/.forever/EEMO.log
             1719  forever restart index.js
             1720  tail -f /root/.forever/EEMO.log
             1721  forever list
             1722  nano /root/.forever/EEMO.log
             1723  forever restart index.js
             1724  tail -f /root/.forever/EEMO.log
             1725  sudo su
             1726  cd /var/www/html/api
             1727  forever list
             1728  tail -f /root/.forever/EEMO.log
             1729  forever restart index.js
             1730  nano /var/env/.envdev
             1731  sudo su
             1732  sudo su
             1733  free -m
             1734  df -h
             1735  top
             1736  sudo su
             1737  cd /var/www/html/api
             1738  forever list
             1739  tail -f /root/.forever/EEMO.log
             1740  forever restart index.js
             1741  tail -f /root/.forever/EEMO.log
             1742  forever restart index.js
             1743  tail -f /root/.forever/EEMO.log
             1744  cd /var/www/html/api
             1745  forever restart index.js
             1746  tail -f /root/.forever/EEMO.log
             1747  sudo su
             1748  ufw status
             1749  sudo su
             1750  cd /var/www/html/api
             1751  forever list
             1752  tail -f /root/.forever/EEMO.log
             1753  forever restart index.js
             1754  tail -f /root/.forever/EEMO.log
             1755  sudo su
             1756  cd /var/www/html/api
             1757  forever list
             1758  cd ..
             1759  ls
             1760  cd api
             1761  forever list
             1762  npm i pm2
             1763  pm2 install pm2-logrotate
             1764  npm pm2 install pm2-logrotate
             1765  npm  install pm2-logrotate
             1766  pm2 start index.js
             1767  pm2 ls
             1768  forever start index.js
             1769  forever list
             1770  tail -f /root/.forever/Zf4C.log
             1771  cd /var/www/html/api
             1772  forever list
             1773  free -m
             1774  df -h
             1775  pm2 ls
             1776  cd /root/.forever/
             1777  ls
             1778  rm -rf ./*
             1779  cd /var/www/html/api
             1780  df -h
             1781  forever start index.js
             1782  forever list
             1783  tail -f /root/.forever/KldY.log
             1784  sudo su
             1785  cd /var/www/html/api
             1786  forever list
             1787  forever start index.js
             1788  forever list
             1789  tail -f /root/.forever/UBQG.log
             1790  free -m
             1791  df -h
             1792  sudo su
             1793  cd /var/www/html/
             1794  ls
             1795  cd heatmap/
             1796  ls
             1797  cd Jetride/
             1798  ld
             1799  ls
             1800  main nohup python3 manage.py runserver 0.0.0.0:8000 >/dev/null 2>&1 &
             1801  nohup python3 manage.py runserver 0.0.0.0:8000 >/dev/null 2>&1 &
             1802  cd /var/www/html/heatmap/
             1803  ll
             1804  . env/bin/activate
             1805  cd Jetride/
             1806  ll
             1807  python manage.py runserver 0.0.0.0:8000
             1808  nohup python3 manage.py runserver 0.0.0.0:8000 >/dev/null 2>&1 &
             1809  ll
             1810  cd ..
             1811  ll
             1812  cd Jetride/
             1813  ll
             1814  sudo su
             1815  $ ps aux | grep nodeyou   PID  1.5  0.2  44172  8260 pts/2    S    15:25   0:00 node app.js$ kill -2 PID
             1816  pkill -HUP node
             1817  nodemon node.js
             1818  nodemon restart
             1819  history
             1820  nohup python3 manage.py runserver 127.0.0.1:9000>/dev/null 2>&1 &
             1821  11
             1822  cd..
             1823  $ ps aux | grep nodeyou   1  1.5  0.2  44172  8260 pts/2    S    15:25   0:00 node app.js$ kill -2 1
             1824  node-gyp rebuild
             1825  --print
             1826  npm cache clean
             1827  npm cache verify
             1828  npm install --cache /tmp/empty-cache
             1829  npm cache clean --force
             1830  npm cache verify
             1831  exit
             1832  node server
             1833  Last login: Tue Jun 15 10:04:05 2021
             1834  history
            

            So i tried to find a way to start node service and when i used the command node server i got this error

            Last login: Tue Jun 15 10:04:05 2021
            root@JetRide-Karry-AppServer:~# node server
            module.js:550
                throw err;
                ^
            
            Error: Cannot find module '/root/server'
                at Function.Module._resolveFilename (module.js:548:15)
                at Function.Module._load (module.js:475:25)
                at Function.Module.runMain (module.js:694:10)
                at startup (bootstrap_node.js:204:16)
                at bootstrap_node.js:625:3
            root@JetRide-Karry-AppServer:~#
            
            edited by MattIPv4
          • Hi there @truthegbele4u,

            It looks like that your developer has setup forever to keep your Node.js project running.

            So to start the application run the following commands:

            cd /var/www/html/api
            forever list
            forever start index.js
            

            If this does not work, try killing the node processes with:

            killall node
            

            And then try starting the process again.

            Let me know how it goes!
            Regards,
            Bobby