Avoid time sinks and install Node.js properly with a node version manager. It's 2023, so skip nvm and use fnm - fast, dependable. Here's how to do it right.
How to connect from a Node.js application running on a server with a random IP address to an external service protected by a firewall.
Learn how to connect from a Node.js application running on a server with a random IP address to an external service protected by a firewall that only allows access