---
title: req.ip
description: Return the remote address, or when "trust proxy"
---

<h3 id='req.ip'>req.ip</h3>

Return the remote address, or when "trust proxy"
is enabled - the upstream address.

```js
console.dir(req.ip);
// => '127.0.0.1'
```
