Which port does R utilize?

Hi,

I have problem with timeouts using functions like devtools::install_github or httr::GET. Probably because most of the ports are blocked by organization's firewall setiings. But which ports should be enabled? Do all packages use common ports?

Thanks!