I am trying to continuously run a nodeJs server on my VPS, I made a
systemdservice and started it.
I worked by my server is still not accessible, I can check the status and it works Okey :
Service Status :
Node.service - Runs the Node Server for Node API Loaded: loaded (/etc/systemd/system/Node.service; disabled; vendor preset: enabled) Active: active (running) since Sat 2018-05-12 16:16:38 CEST; 2min 37s ago Main PID: 26697 (node) Tasks: 10 Memory: 87.5M CPU: 2.734s CGroup: /system.slice/Node.service └─26697 /root/.nvm/versions/node/v9.11.1/bin/node www May 12 16:16:38 vps543107 systemd: Started Runs the Node Server for Node API. May 12 16:16:41 vps543107 node: Listening on port 3000
[Unit] Description=Runs the Node Server for Node API Documentation="No Docs" After=network.target [Service] Type=simple User=root WorkingDirectory=/root/Node/bin ExecStart=/root/.nvm/versions/node/v9.11.1/bin/node www Restart=on-failure [Install] WantedBy=multi-user.target
I can't get to the server via any HTTP request, all requests timeout.
Is there a problem with my Service.