Home / مشکل اتصال به ftp سرور و رفع آن با تنظیم فایروال

مشکل اتصال به ftp سرور و رفع آن با تنظیم فایروال


اگر پورت ۲۰ و ۲۱ باز نباشد هنگام اتصال به سرور ftp
با سرویس proftpd
این پیغام نمایش داده می شود و اتصال برقرار نمی شود
The data connection could not be established: EHOSTUNREACH - No route to host
راه حل سریع
متوقف کردن سرویس فایروال است
service iptables stop
و راه حل دیگر باز کردن پورت های ۲۰ و۲۱

Your FTP server is failing to connect more than likely because its not able to connect to the "DATA" port which is Port 20, the Command Channel or "CMD" Port is 21. Both of these need to be open in the firewall for a successful connection to occur.



     RSS of this page