Configure Ports And Network

Prerequisites

To recap:

  1. A container has been created.
  2. A load balancer is online.
  3. A LINKED Record exists that points to the container.

Now, all that's left to do is configure the container:

  1. Set Public Network to Enable
  2. Check port mapping

Public Network

Currently, the container dashboard should look like this.

Network Disable

This network diagram is designed to help identify possible causes for a lack of public network access.

When hovering over the green checkmark, a tooltip will appear that says Connection between internet and load balancer configured correctly. This indicates that the load balancer is properly configured.

BUT

If the crossed-out circle is hovered over, the message container network is disabled will appear.

Enabling the Public Network

From the container modal, click on the Config tab. Navigate to the network section and find the setting for Public Network. Based on the steps so far, this should be set to Disable.

Select Enable from the list and then use the Save Container button to save the changes.

Port Config

After this change, the network diagram has updated to show that the container has no open ports that the load balancer accepts traffic on.

Referring back to the container network configuration settings, the ports field will appear with no entries, which is the root cause of this error message. Add 80:80 and 443:80 to the ports field and then save the container.

Correctly configured

DNS **LINKED** Record

If the Configuring a DNS Zone step or Creating a LINKED Record step was skipped, an error will appear in the network diagram. To learn how to resolve this, refer to the previous steps.