The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ftp port 21 problem

Discussion in 'General Discussion' started by mydnsnet, Oct 2, 2008.

  1. mydnsnet

    mydnsnet Member

    Joined:
    Mar 13, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    We are facing problem for ftp port 21 connection.
    We can not connect to ftp server using port 21.

    We have stopped iptables and apf, but still can not connect to port 21.
    We have telnet port 21 at server side, no problem at all.

    Then we change the ftp port to 20 and working fine.

    Anyone facing this problem?
    Do you know what else server program that blocking port 21?
     
  2. FreedomBI

    FreedomBI Well-Known Member

    Joined:
    Jul 7, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Do you have both 20 and 21 open at the firewall? FTP uses both.
     
  3. mydnsnet

    mydnsnet Member

    Joined:
    Mar 13, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Yes, port 20 and 21 are open for connection.
     
  4. Ghulam Yaseen

    Ghulam Yaseen Well-Known Member

    Joined:
    Mar 14, 2008
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Karachi,Pakistan
    Yaseen

    Hello :),

    Can you please flsuh the iptables and apf and then try again.
     
  5. Humayun

    Humayun Member

    Joined:
    Jul 15, 2008
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Hello
    Or if the ports are not in added in apf listning ports ? how can i flush it ?:D
     
  6. Ghulam Yaseen

    Ghulam Yaseen Well-Known Member

    Joined:
    Mar 14, 2008
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Karachi,Pakistan
    Yaseen

    Hi Humayun :),

    Please read the full page and then ask the question as it is written ther that the ports are open, means the entries are added in apf and iptables.
    what i mean is that there may be some rules within the apf and iptables which restricts the ftp connection to be made on ftp port 21.
    i hope you understood :cool:

     
  7. FARAZ

    FARAZ Member

    Joined:
    Feb 4, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Hello Dear

    I total agree with you but my and Humayun question is if server is blank and there is no firewall so how can we flsuh the iptables and apf.?

    Regards
    Your Client
     
Loading...

Share This Page