Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi, I created a simple http node app for testing, but I can’t get it to work on my droplet. The code is the sample code from nodejs.org:
var http = require(‘http’); http.createServer(function (req, res) { res.writeHead(200, {‘Content-Type’: ‘text/plain’}); res.end(‘Hello World\n’); }).listen(1337, ‘127.0.0.1’); console.log(‘Server running at http://127.0.0.1:1337/’);
The node app runs, but when I hit “http://my_ip_address:1337” I get no result.
I have a domain name connected to my droplet, and are wondering if that is the reason I can’t connect. I tested this on a fresh droplet aswell, and its working as expected.
PS: If i listen on port 80 instead, in the node app, it works.
Why can’t I use any other ports, any suggestions?