File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,16 @@ wget https://github.com/gitpod-io/openvscode-server/releases/download/openvscode
3030tar -xzf code-server.tar.gz
3131rm code-server.tar.gz
3232```
33+ ### Create an inbound rule for port 3000
3334
35+ To access OpenVSCode Server on port 3000 later, we have to create an inbound rule:
36+ 1 . Open the instance dashboard
37+ 1 . In the left menu pane, under Settings, select Networking.
38+ 1 . In the bottom section, for the NSG rules for the network interface, select Add inbound port rule.
39+ 1 . Populate the following fields (use default values for everything else):
40+ * Destination port ranges: 3000
41+ * Protocol: TCP
42+ 1 . Click "Add"
3443
3544
3645## Start the server
@@ -44,8 +53,11 @@ cd openvscode-server-v$SERVER_VERSION-linux-x64
4453
4554## Access OpenVSCode Server
4655
56+ 1 . Navigate to the Overview pane for the VM
57+ 1 . Copy the "Public IP address"
58+ 1 . Paste the IP address in a new browser tab and add ` :3000 ` , i.e. ` http://52.251.44.195:3000 `
4759
4860## Teardown
4961
50- 1 . Navigate to your VM's instance dashboard page
62+ 1 . Navigate to the Overview pane for the VM. You can find the VM under All Resources.
51631 . Click on "Stop"
You can’t perform that action at this time.
0 commit comments