fix(setup): update GitHub connectivity check to use HTTPS port 443

This commit modifies the connectivity check in the setup script to use port 443 instead of port 80 for GitHub, ensuring a more secure connection. The change enhances the script's reliability in verifying internet connectivity before proceeding with further setup steps.
This commit is contained in:
Nicolás Fishman
2026-01-17 12:46:13 -03:00
parent 928b9f5a54
commit 5cd04a72f8

View File

@@ -110,7 +110,7 @@ https://learn.microsoft.com/windows/package-manager/winget/
# Check connectivity to GitHub
$ProgressPreference = 'SilentlyContinue'
if (-not ((Test-NetConnection -ComputerName 'github.com' -Port 80).TcpTestSucceeded)) {
if (-not ((Test-NetConnection -ComputerName 'github.com' -Port 443 -WarningAction SilentlyContinue).TcpTestSucceeded)) {
Exit-WithError "Can't connect to github, check your internet connection and run this script again"
}
$ProgressPreference = 'Continue'