Visiting <linodeip:1313>

Hello,

I'm running a basic hugo application where I run:

hugo serve

and the command prompt says that the website is running on localhost:1313, however I cannot visit it by navigating to my linode's IP followed by the port. This works fine locally on my machine using the exact same steps. Is there something I need to set in linode to allow me to visit running services?

Thanks,

2 Replies

Do you need to tell hugo to bind to your public IP? Something like

hugo server --bind=YOURLINODEPUBLICIP

Or if you want to listen on all

hugo server --bind=0.0.0.0

Quick hugo reference

hugo server --bind=YOURLINODEPUBLICIP

Absolutely works! Feeling quite silly. Thanks so much for your help!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct