Nodemailer works on local PC, but not on server

I want to send emails via Gmail (OAuth) from a node.js application with nodemailer. It works perfectly fine on my PC, but if I try it from my Linode server nothing happens. I don't get an error, it just times out after a few minutes. Firewall is disabled and because the code works on my local machine, I don't know where to start. Maybe someone knows where to start and help me with this issue.
Thanks a lot

1 Reply

Port 25 is most likely blocked on new Linode accounts, I suggest contacting the amazing Linode support team to get the port block removed.


Please enter an answer

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] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct