Hi Varma, Welcome to MS Q&A
Sure, if you're using Azure VM and Azure Network, you can configure the Network Security Group (NSG) associated with your VM to allow outbound connections to gitforwindows.org on port 443 (HTTPS). Here's a step-by-step guide:
Access Azure Portal: Log in to the Azure Portal (https://portal.azure.com).
Navigate to your Virtual Machine: Find and select your virtual machine from the list of resources.
Locate Network Security Group (NSG): In the left-hand menu of your VM's page, under Settings, click on "Networking" and then select the Network Security Group associated with your VM.
View and Edit NSG Rules:
- In the Network Security Group page, under Settings, click on "Inbound security rules" or "Outbound security rules" depending on where you want to add the rule.
- If you want to allow outbound connections, click on "Outbound security rules".
- Add Outbound Rule:
- Click on "+ Add" to add a new outbound security rule.
- Configure the rule:
- Source: You can set it to "Any" if you want to allow outbound connections from any source. Alternatively, you can specify the source IP address range of your VM.
- Source port ranges: Leave it as "*" to include all source ports.
- Destination: Set it to any
- Destination port ranges: Set it to "443" to allow HTTPS connections.
- Protocol: Select "Any" or specifically "TCP" if you only want to allow TCP connections.
- Action: Set it to "Allow".
- Priority: Assign a priority number to the rule to determine its order of precedence. Lower numbers have higher priority.
- Name: Give a name to the rule for identification.
- Click "Add" to create the rule.
Review and Apply Changes:
- Review the newly added rule in the list.
- Once you are satisfied with the rule, click "Save" or "Apply" to apply the changes to the NSG.
- Retry the upgrade process for Git on your Azure VM to see if the SSL connection issue is resolved. You should no longer encounter the SSL_ERROR_SYSCALL.
By following these steps, you'll configure the NSG associated with your Azure VM to allow outbound connections to gitforwindows.org on port 443, resolving the SSL connection issue.
Doc for ref--> https://learn.microsoft.com/en-us/azure/virtual-network/tutorial-filter-network-traffic
Kindly check and let us know if any issues , if it helps , please accept answer