On 2024-01-07 08:10, Dan Shelton via Cygwin wrote:
Can someone provide a list of TCP ports which must be open in the
outgoing firewall settings, so Cygwin setup.exe can fetch data from
mirror.kernel.org?

You should not just use the US default mirrors.kernel.org on the west coast in San Jose, California, near San Francisco, California, but choose the closest reliable mirror(s) to your system from the mirror list:

        https://cygwin.com/mirrors.html

Ports required depend on which services and transport protocols are supported by each mirror you use, and are the standard ports for those services and protocols:

$ grep '\(^ftp\(\s\|-\)\|^https\?\s\).*/tcp' /etc/services
ftp-data           20/tcp                           #FTP, data
ftp                21/tcp                           #FTP. control
http               80/tcp    www www-http           #World Wide Web
https             443/tcp    MCom                   #HTTP over TLS/SSL

https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                -- Antoine de Saint-Exupéry

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to