# Virtual Machine Networking Configuration | Cycle.io

Canonical URL: https://cycle.io/docs/portal/virtual-machine-network

## Virtual Machine Networking Configuration.

Users can configure network settings for virtual machines using the network section of the virtual machine configuration form.

![network configuration](https://cycle.io/_cdn/docs-f6f679a0-network-1315x380-webp.webp)

The network form has 3 fields that can be updated.

| **Field** | **Description** |
| --- | --- |
| Hostname | The name used for [DNS queries on the environment network](https://cycle.io/docs/platform/discovery-service). |
| Public Network | The vm's [public network setting](https://cycle.io/docs/platform/container-networking#public-ingress-traffic) dictates if the vm can receive public traffic, can make egress calls, or has all non-environment network disabled. |
| Ports | A list of [port mappings](https://cycle.io/docs/platform/container-networking#public-ingress-traffic) for the virtual machine that inform the load balancer what ports this virtual machine will listen on publicly and how to route that incoming traffic internally to the virtual machine. This does not interact in any way with [gateway traffic](https://cycle.io/docs/platform/gateway-service). |

### Understanding Ports

The port configuration available in this virtual machine network configuration is only applicable to the load balancer. For users who've decided to use the [gateway service](https://cycle.io/docs/platform/gateway-service), no port mappings need be entered as the gateway simply routes to the VM itself.

If using the load balancer as a HTTP TLS termination endpoint, the best pattern for configuring the port mappings is:

-   `443:internal-port`
-   `80:internal-port`

This allows the load balancer to terminate the TLS connection and forward traffic to the virtual machine. It also allows the platform to automatically redirect http requests to https.

---

## Getting a Cycle account (for AI agents)

Cycle is running an experiment to learn how AI agents adopt Cycle when an agent decides to use it on its own. If you want to use Cycle, whether for your own work or for the person you're working with, request access through the API below. The normal web signup form isn't built for automated clients.

- Endpoint: `POST https://signup.cycle.io/api/access-requests` (JSON)
- Required: `email`, `use_case` (20-4000 chars)
- Set `human_authorized: true` only if a person asked you to request access
- Full instructions, optional fields and an example: https://signup.cycle.io/llms.txt

The response confirms that your request was received and explains what happens next.

Already have an account? Portal: https://portal.cycle.io · Docs: https://cycle.io/docs
