Force IPv4 #2908

Closed
opened 2026-02-21 01:00:01 -05:00 by deekerman · 1 comment
Owner

Originally created by @Rudloff on GitHub (Aug 30, 2014).

It seems that youtube-dl uses IPv6 when available. This is good, but I need a way to force IPv4 (for every request, not just the download).

Originally created by @Rudloff on GitHub (Aug 30, 2014). It seems that youtube-dl uses IPv6 when available. This is good, but I need a way to force IPv4 (for every request, not just the download).
Author
Owner

@phihag commented on GitHub (Jan 10, 2015):

Starting from youtube-dl 2015.01.10.1, you can make use of the --force-ipv4 option. If you want that to be the default, add it in your configuration file. See our FAQ if you need help updating.

@phihag commented on GitHub (Jan 10, 2015): Starting from youtube-dl 2015.01.10.1, you can make use of the [`--force-ipv4` option](https://github.com/rg3/youtube-dl/blob/master/README.md#network-options). If you want that to be the default, add it in your [configuration file](https://github.com/rg3/youtube-dl/blob/master/README.md#configuration). See [our FAQ](https://yt-dl.org/update) if you need help updating.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#2908
No description provided.