FTP server on ipv6 IP address

I followed the instructions, and I just cannot resolve my problem.
I also tried to setting things up via the DW-export method. But I always got the following output.

What am I doing wrong? Or, where can I find more detailed explenation of how to set up the ftp connection?


Testing Connection …

  • set color:use-color yes
  • set cmd:interactive yes
  • set file:charset utf-8
  • set xfer:clobber on
  • set ftp:timezone
  • set cmd:show-status yes
  • set cmd:set-term-status yes
  • set ftp:list-options -a
  • set cmd:fail-exit yes
  • set cmd:time-style “%Y-%m-%d %H:%M:%S”
  • set ftp:ssl-allow no
  • set ssl:verify-certificate no
  • set net:max-retries 3
  • set net:timeout 20
  • set net:reconnect-interval-base 5
  • set net:reconnect-interval-multiplier 1
  • open -u “user,pass” ftp://mysite.com
    ---- Resolving host address…
    ---- 2 addresses found: 2a01:7860::db:1152:10:1, xxx.xxx.xxx.xxx
  • cd public_html/
    ---- Connecting to mysite.com (2a01:7860::db:1152:10:1) port 21
    **** Timeout - reconnecting
    ---- Closing control socket
    ---- Connecting to mysite.com (2a01:7860::db:1152:10:1) port 21
    **** Timeout - reconnecting
    ---- Closing control socket
    ---- Connecting to mysite.com (2a01:7860::db:1152:10:1) port 21
    **** Timeout - reconnecting
    ---- Closing control socket
    cd: Fatal error: max-retries exceeded

Could you also show a screenshot of the settings you have inserted into the FTP Connections area please.

As your domain has also an ipv6 address defined this is used but are you sure your ftp server is also listening to the ipv6 up adres at port 21?

I’m sorry, but I do not know how to find out if the server is listening to the ipv6 up adres at port 21.
I did a search in cPanel, but there is nothing I can find about ipv6

Do you by any chance know a different approach/method to connect with my domain?

Screenshot 2020-02-01 at 12.13.14

Thanks for your quick replies.
But I’ve tried that before (it was my first attempt), and retried it just a moment ago:
ftp2

Testing Connection …

  • set color:use-color yes
  • set cmd:interactive yes
  • set file:charset utf-8
  • set xfer:clobber on
  • set ftp:timezone
  • set cmd:show-status yes
  • set cmd:set-term-status yes
  • set ftp:list-options -a
  • set cmd:fail-exit yes
  • set cmd:time-style “%Y-%m-%d %H:%M:%S”
  • set ftp:ssl-allow no
  • set ssl:verify-certificate no
  • set net:max-retries 3
  • set net:timeout 20
  • set net:reconnect-interval-base 5
  • set net:reconnect-interval-multiplier 1
  • open -u “user,pass” ftp://mysite.com
    ---- Resolving host address…
    ---- 2 addresses found: 2a01:7860::db:1152:10:1, xxx.xxx.xxx.xxx
  • cd /public_html/
    ---- Connecting to mysite.com (2a01:7860::db:1152:10:1) port 21
    **** Timeout - reconnecting
    ---- Closing control socket
    ---- Connecting to mysite.com (2a01:7860::db:1152:10:1) port 21
    **** Timeout - reconnecting
    ---- Closing control socket
    ---- Connecting to mysite.com (2a01:7860::db:1152:10:1) port 21
    **** Timeout - reconnecting
    ---- Closing control socket
    cd: Fatal error: max-retries exceeded

Possibly a very silly idea, but maybe worth a try, it says 2 addresses found, one is IPv6 and the second is IPv4, then it chooses the first one being the IPv6 address and times out, your server should generally be on a static IP Address so login to your cPanel, get the server IP address in the server info panel down the right, and in your
FTP Server: instead of ftp.xxxxxxxet.nl use the IP address without the ftp:// prefix or any forward slashes, just 159.43.238.16 or whatever yours is.
This avoids it resolving the host with DNS, and it should not find 2 addresses only the one IPv4 one

2 Likes

YES! it works now.
thank you for helping me!

1 Like

Maybe @psweb has a tip how to setup ipv6 ftp on cPanel as well :slight_smile: might be useful for all.

Yeah, I will have to test that one George, I have not had an IPv6 server to actually try as yet to be honest.