By default ports 22, 80 and 443 are open. Port 22 is reserved for SSH access, and 80 and 443 can be used for your applications.


Avoid "ufw"

You may be used to use the ufw ("Uncomplicated Firewall") command to manage your port settings on a Linux workspace.

However, this tool is running on the workspace itself and cannot add any open ports because the security group rules we use are applied one step higher, on the level of the cloud system.

Also, you risk to lock yourself out of your workspace by inadvertently closing port 22 on uwf level.

It does happen!


If other ports must be opened you can extend the display of your workspace and select the tab "Security Groups".


Here you see a list of the security group rules that apply for your workspace.

It depends on the catalog item that the workspace was created from if a rule can be changed, here.

To open a port you can add a rule with the "+" symbol.

In the panel that opens, you can specify the following details about a port that you would like to open:

  • From port number: start of the port range that will accept packets.
  • To port number: end port of the port range that will accept packets. In order to define 1 port choose the same "From port" and "To port".
  • IP address(es): Define 1 address or an address range in CIDR format.
  • Traffic direction: Select direction "In" or "Out"
  • Protocol: Select TCP (Transmission Control Protocol) or UDP (User Datagram Protocol)

When the details are filled in completely, click "SAVE".


Please keep in mind the security aspects of opening additional ports: https://specopssoft.com/blog/open-ports-and-their-vulnerabilities/