Or universal command for iptables, if no shell is not used: Sudo firewall-cmd -permanent -add-port=1024/tcp ![]() Sudo firewall-cmd -permanent -add-port=20/tcp Sudo firewall-cmd -permanent -add-port=21/tcp For example, firewalld in CentOS with the command will look like this: The commands for this will depend on the shell you are using firewall. Otherwise, you need to open the FTP port in the server firewall. If a team does not show error message Connection refused means the port is available and the problem is not here. Then you try to connect to this port with telnet command: If you do not specify any port in the interface, the default is port 21. If you have access to the server on which you installed FTP, make sure that the configuration file is specified the port to connect to. In this case, you can get the ERRCONREFUSED error or connection refused by server Filezilla.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |