averlon has asked for the wisdom of the Perl Monks concerning the following question:
how can I force Net::FTP->new(...) to use IPV4 ?
I know, I could use an IP-Address as host - but I would like to stay with a hostname!
I have activated IPV6 in my network and now this is used as a standard. In general this is fine. But for the connection I use it looks like IPV6 does not work.
To get it working until I have found the root cause on IPV6 I would like to force my script to use IPV4 only.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::FTP force IPV4
by hippo (Archbishop) on Jun 27, 2023 at 09:10 UTC | |
by averlon (Sexton) on Jun 27, 2023 at 09:20 UTC | |
by Corion (Patriarch) on Jun 27, 2023 at 09:23 UTC | |
by averlon (Sexton) on Jun 27, 2023 at 09:32 UTC | |
|
Re: Net::FTP force IPV4
by choroba (Cardinal) on Jun 27, 2023 at 09:17 UTC | |
by Fletch (Bishop) on Jun 28, 2023 at 01:37 UTC | |
by choroba (Cardinal) on Jun 28, 2023 at 07:54 UTC |