To test that Node.js is running, run the following commands and it should tell you what version is running.
The version of Node.js will be the latest from the OS official repositories that can be used to provide a consistent experience across multiple systems.
If however you would like the most recent version from PPA (personal package archive) maintained by NodeSource, refer to the following instructions for upgrading to the latest version.
For Ubuntu Server:
For CentOS Server:
Node.js Firewall Ports
By default the following ports have been enabled:
If you are using any of the cloud security groups and need to change / add ports refer to the following guides:
To setup AWS firewall rules refer to – AWS Security Groups
To setup Azure firewall rules refer to – Azure Network Security Groups
To setup Google GCP firewall rules refer to – Creating GCP Firewalls
Disclaimer: Node.js® is a registered trademark of Joyent, Inc. and is licensed under MIT License. No warrantee of any kind, express or implied, is included with this software. Use at your risk, responsibility for damages (if any) to anyone resulting from the use of this software rest entirely with the user. The author is not responsible for any damage that its use could cause.