We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 599e270 commit b5ed046Copy full SHA for b5ed046
jenkins-tutorial/deploy-jenkins-vm.sh
@@ -13,10 +13,10 @@ then
13
# Create a new virtual machine, this creates SSH keys if not present.
14
az vm create --resource-group $resourceGroup --name $virtualMachine --admin-username $adminUser --image UbuntuLTS --generate-ssh-keys
15
16
- # Open port 22 to allow web traffic to host.
+ # Open port 80 to allow web traffic to host.
17
az vm open-port --port 80 --resource-group $resourceGroup --name $virtualMachine --priority 101
18
19
- # Open port 80 to allow web traffic to host.
+ # Open port 22 to allow ssh traffic to host.
20
az vm open-port --port 22 --resource-group $resourceGroup --name $virtualMachine --priority 102
21
22
# Open port 8080 to allow web traffic to host.
0 commit comments