Server not reachable: unable to connect to server (error in dashboard)

Hello,

I am new to Parse server development and administration, I am following tutorials to get it working on my Ubuntu server (especially this one), but I’m now stuck with the dashboard telling me this error:

Both my parse.server and parse.dashboard services seem to be fine:

root@localhost:~# systemctl status parse.server.service 
● parse.server.service - Parse Server service
     Loaded: loaded (/etc/systemd/system/parse.server.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2023-03-04 18:50:57 UTC; 11s ago
   Main PID: 1331 (node)
      Tasks: 11 (limit: 2268)
     Memory: 92.5M
     CGroup: /system.slice/parse.server.service
             └─1331 node /usr/local/bin/parse-server /root/parse.server/config.json

Mar 04 18:50:57 localhost systemd[1]: Started Parse Server service.
Mar 04 18:50:58 localhost parse-server[1331]: Configuration loaded from /root/parse.server/config.json
root@localhost:~# systemctl status parse.dashboard.service 
● parse.dashboard.service - Parse Server Dashboard service
     Loaded: loaded (/etc/systemd/system/parse.dashboard.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2023-03-04 18:42:38 UTC; 8min ago
   Main PID: 754 (node)
      Tasks: 11 (limit: 2268)
     Memory: 68.8M
     CGroup: /system.slice/parse.dashboard.service
             └─754 node /usr/local/bin/parse-dashboard --dev --config /root/parse.dashboard/config.json

Mar 04 18:42:38 localhost systemd[1]: Started Parse Server Dashboard service.
Mar 04 18:42:40 localhost parse-dashboard[754]: Iconsfolder at path: /root/parse.dashboard/icons not found!
Mar 04 18:42:40 localhost parse-dashboard[754]: The dashboard is now available at http://0.0.0.0:4040/

However, for some reason, nothing seems to be running on port 1337, which might be the issue?

root@localhost:~# ss -ant | grep 4040
LISTEN    0      511                    0.0.0.0:4040                    0.0.0.0:* 
root@localhost:~# ss -ant | grep 1337

Here is my dashboard config file:

{
   "apps":[
      {
         "serverURL":"http://{my_server_ip}:1337/parse",
         "appId":"myAppID",
         "masterKey":"myMasterKey",
         "allowInsecureHTTP":"true",
         "appName":"ParseApp"
      }
   ],
   "users":[
      {
         "user":"rob",
         "pass":"test"
      }
   ],
   "iconsFolder":"icons"
}

And my server config file:

{
  "appName": "Parse Server Application",
  "databaseURI": "mongodb://localhost:27017/parsedb",
  "appId": "MyAppID",
  "masterKey": "myMasterKey",
  "serverURL": "https://localhost:1337/parse",
  "publicServerURL": "https://0.0.0.0:1337/parse",
  "port": 1337
}

I tried restarting the services but with no luck. What could be the reason of this issue?

Thank you for your help

Were you able to resolve this?
I’m running into the same exact issue.