kitnik
By:
kitnik

Trying to connect to a sails.js web-app running on a droplet

March 27, 2018 130 views
Node.js Ubuntu 16.04

I've installed everything and successfully lifted the web server. Everything looks fine in the console. But when I try to connect in my browser to <droplet IP>:1337 - I don't see the page running

info: Starting app...

info:
info: .-..-.
info:
info: Sails <| .-..-.
info: v0.12.14 |\
info: /|.\
info: / || \
info: ,' |' \
info: .-'.-==|/--'
info: `--'-------'
info: _
---------------
info: _---------------__-_
info:
info: Server lifted in /web/test
info: To see your app, visit http://localhost:1337
info: To shut down Sails, press <CTRL> + C at any time.

debug: -------------------------------------------------------
debug: :: Tue Mar 27 2018 08:00:14 GMT+0000 (UTC)

debug: Environment : development
debug: Port : 1337
debug: -------------------------------------------------------

1 Answer

I figured this out, silly me. Changed the port to 80 and it connected.

Have another answer? Share your knowledge.