Other port than 21 doesn’t work

Home Forums General Suggestions Other port than 21 doesn’t work

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #28565
    Anonymous
    Participant

    Hey folks,

    I’m trying to get Cerberus FTP up and running. If I use port 21 everything works fine. If I use another port (now 30, already tried higher such as 2121) I get the next log:

    Thu Nov 04 15:52:53 2004 24 Incoming connection request on interface 192.168.0.4

    Thu Nov 04 15:52:53 2004 24 Connection request accepted from 217.136.171.4

    Thu Nov 04 15:52:53 2004 24 USER bert

    Thu Nov 04 15:52:53 2004 24 PASS ***********

    Thu Nov 04 15:52:53 2004 24 OPTS utf8 on

    Thu Nov 04 15:52:53 2004 24 SYST

    Thu Nov 04 15:52:53 2004 24 SITE help

    Thu Nov 04 15:52:53 2004 24 PWD

    Thu Nov 04 15:52:53 2004 24 TYPE A

    Thu Nov 04 15:52:53 2004 24 PORT 192,168,254,134,12,136

    Thu Nov 04 15:52:54 2004 24 LIST

    Thu Nov 04 15:53:15 2004 24 A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

    Can somebody help me? I use 2 FTP servers in my LAN, one on port 21 and this one. Could that be the problem and how to make it work?

    #32534
    imported_Serin
    Participant

    The problem is with the client. The PORT command they are specifying is a local address, so their client is not properly specifying their WAN address. The server thinks the address is local to its network, and thus cannot find the address. When you select port 21, their router or your router is probably modifying the PORT command to reflect the actual WAN address. Some routers try to be smart like that. Because you are using a non-standard port, the router doesn’t know to modify the packet to include the real WAN address.

    The client will have to make the change.

    #32535
    Anonymous
    Participant

    serin wrote:

    The problem is with the client. The PORT command they are specifying is a local address, so their client is not properly specifying their WAN address. The server thinks the address is local to its network, and thus cannot find the address. When you select port 21, their router or your router is probably modifying the PORT command to reflect the actual WAN address. Some routers try to be smart like that. Because you are using a non-standard port, the router doesn’t know to modify the packet to include the real WAN address.

    The client will have to make the change.


    But some system in University only allow port 80 so we want to install on the port 80. How to solve that problem.

    #32536
    Anonymous
    Participant

    i use this ftp on local port 2000 from the WAN port 21 (NAT translates external 21 to internal 2000) and it works great :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Close Cart

Shopping Cart