This article explains how to open FTP port 21 on RHEL 8 / CentOS 8 Linux system with the
firewalld firewall. The FTP protocol is primarily used by file transfer services such as, but not limited to, vsftpd FTP server. For more information visit our introduction guide to firewalld syntax and usage guide.
In this tutorial you will learn:
- How to open FTP port 21.
- How to open FTP port 21 permanently.
- How to list currently open ports/services.
- How to close/remove open FTP port 21.