When on the internet, there’s always concerns of security. If you’re listening on some services but not others, you need to modify the Linux firewall to allow this.
Also, if there’s undesirable clients accessing ports and hacking,
IPTables is an effective way to keep them at bay.
Here’s a few basic IPTables command to get started: