# modal.Proxy | Modal Docs

- **URL:** https://modal.com/docs/sdk/py/latest/modal.Proxy
- **Summary:** Proxy objects give your Modal containers a static outbound IP address.

Copy page

modal.Proxy
===========

    class Proxy(modal.object.Object)

Proxy objects give your Modal containers a static outbound IP address.

This can be used for connecting to a remote address with network whitelist, for example a database. See [the guide](https://modal.com/docs/guide/proxy-ips)
 for more information.

hydrate 

    hydrate(self, client=None)

Synchronize the local object with its identity on the Modal server.

It is rarely necessary to call this method explicitly, as most operations will lazily hydrate when needed. The main use case is when you need to access object metadata, such as its ID.

_Added in v0.72.39_: This method replaces the deprecated `.resolve()` method.

from_name 

    from_name(name, *, environment_name=None, client=None)

Reference a Proxy by its name.

In contrast to most other Modal objects, new Proxy objects must be provisioned via the Dashboard and cannot be created on the fly from code.

**Parameters**

name str

Name of the Proxy in the target environment.

environment_name str | None

Environment to resolve the name in; defaults to the active environment.

client _Client | None

Modal client to use for loading; defaults to `Client.from_env()` when omitted.

**Returns**

A lazy `Proxy` handle.

[modal.Proxy](https://modal.com/docs/sdk/py/latest/modal.Proxy#modalproxy)
[hydrate](https://modal.com/docs/sdk/py/latest/modal.Proxy#hydrate)
[from_name](https://modal.com/docs/sdk/py/latest/modal.Proxy#from_name)
