```python
from urlparse import urlparse
ip = urlparse(env["base_url"]).netloc
```