LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   425 Failed to establish connection. ftp (http://www.linuxquestions.org/questions/linux-server-73/425-failed-to-establish-connection-ftp-896335/)

saravanakumar 08-09-2011 06:53 AM

425 Failed to establish connection. ftp
 
HI
im able to connect ftp through cmd line
[root@localhost ~]# ftp xx.xx.xx.xx

Connected to xx.xx.xx.xx.
220 (vsFTPd 2.0.5)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (xx.xx.xx.xx:root): cmsuser
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

i conf by

useradd -d /opt/apps/deploy/static/ cmsuser
setfacl -m u:cmsuser:rwx /opt/apps/deploy/static

when i try to connect ftp through firefox
ftp://xx.xx.xx.xx i
get these error
425 Failed to establish connection.error

i had founded its pure firewall issue when i stop my firewall its working fine
can somebody say wat wrong in my firewall rule

#Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d xx.xx.xx.xx -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT -s xx.xx.xx.xx
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT -s xx.xx.xx.xx
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT -s xx.xx.xx.xx
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT -s xx.xx.xx.xx
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 23 -j ACCEPT -s xx.xx.xx.xx
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 23 -j ACCEPT -s xx.xx.xx.xx
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT


can somebody say how can i make vsftpd port strong i want to access ftp thruogh mozilla

TenTenths 08-09-2011 07:47 AM

Let me google that for you.....

http://support.mozilla.com/en-US/kb/...e-and-password


All times are GMT -5. The time now is 05:42 PM.