A sandbox has no network unless you ask for it. Network access follows your plan and your organization's policy, and you choose what a sandbox may reach with an egress allowlist you control.
What is available
None: no network (the default).
Allowlist: the sandbox can reach only the hosts your organization's egress allowlist names.
Open web access (any public host on ports 80 and 443) is coming soon. Until then, use an allowlist.
If a sandbox cannot reach a host
Check that the sandbox was started with the allowlist network mode, not none.
Check that the host is on your organization's allowlist, and ask an administrator to add it if not.
Check whether your organization's policy allows the network mode you asked for.
Reaching a port on a sandbox
Ports are reached through an authenticated tunnel only: there are no public URLs. You can get into a box over SSH with a short-lived certificate. Preview links share a port on a separate preview domain; on Free they are for your team only, and on Pro and Team they can be public too.
Docs: Sandboxes. Still stuck? Email [email protected] with the sandbox ID, the region, what you expected and what happened, and the time (with a time zone). Never send secrets, keys or tokens.