# Occ setupchecks -\> remote address could not be determined

**URL:** <https://help.nextcloud.com/t/occ-setupchecks-remote-address-could-not-be-determined/219079>\
**Category:** ℹ️ Support\
**Tags:** occ, missing\_information, bruteforce, setup\_warning\
**Created:** [March 4, 2025, 9:40pm UTC](https://help.nextcloud.com/t/occ-setupchecks-remote-address-could-not-be-determined/219079 "2025-03-04T21:40:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tony.blue](https://help.nextcloud.com/letter_avatar/tony.blue/32/5_5575768a8748004e209b776fc1b2916d.png) [@tony.blue](https://help.nextcloud.com/u/tony.blue)\
**Post date:** [March 4, 2025, 9:40pm UTC](https://help.nextcloud.com/t/occ-setupchecks-remote-address-could-not-be-determined/219079/1 "2025-03-04T21:40:38Z")

</div>

Hello,

I get the following error-Messages after a check with:

sudo -u www-data php /var/www/html/occ setupchecks

…  
System: Brute force throttling: Your remote address could not be determined.  
…  
Security: Forwarded for headers: Your remote address could not be determined.  
…

Nextcloud is accessed behind a reverse proxy (Apache) and works completely in my opinion.

Unfortunately, I don’t really have an idea where to start when looking for the solution. Does anyone here have a tip for me?

Regards Tony

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [March 5, 2025, 4:05pm UTC](https://help.nextcloud.com/t/occ-setupchecks-remote-address-could-not-be-determined/219079/2 "2025-03-05T16:05:04Z")

</div>

Review [101: reverse proxy](https://help.nextcloud.com/t/101-reverse-proxy/194840)  
topics tagged #setup_warning likely help

---

<div class="post-metadata">

**Author:** ![jtr](https://help.nextcloud.com/letter_avatar/jtr/32/5_5575768a8748004e209b776fc1b2916d.png) [@jtr](https://help.nextcloud.com/u/jtr)\
**Post date:** [March 5, 2025, 7:06pm UTC](https://help.nextcloud.com/t/occ-setupchecks-remote-address-could-not-be-determined/219079/3 "2025-03-05T19:06:08Z")

</div>

> [@tony.blue](#):
>
> sudo -u www-data php /var/www/html/occ setupchecks

This is because there is no remote address when you run the setup checks from the command line.

Check from the Web UI if you want that check to run.

---

<div class="post-metadata">

**Author:** ![tony.blue](https://help.nextcloud.com/letter_avatar/tony.blue/32/5_5575768a8748004e209b776fc1b2916d.png) [@tony.blue](https://help.nextcloud.com/u/tony.blue)\
**Post date:** [March 6, 2025, 7:53am UTC](https://help.nextcloud.com/t/occ-setupchecks-remote-address-could-not-be-determined/219079/4 "2025-03-06T07:53:10Z")

</div>

> [@jtr](#):
>
> This is because there is no remote address when you run the setup checks from the command line.
> 
> Check from the Web UI if you want that check to run.

How can I access occ without a command line? I found the OCC Web App via Google. However, this does not work with Nextcloud 31.

---

<div class="post-metadata">

**Author:** ![jtr](https://help.nextcloud.com/letter_avatar/jtr/32/5_5575768a8748004e209b776fc1b2916d.png) [@jtr](https://help.nextcloud.com/u/jtr)\
**Post date:** [March 6, 2025, 1:46pm UTC](https://help.nextcloud.com/t/occ-setupchecks-remote-address-could-not-be-determined/219079/5 "2025-03-06T13:46:39Z")

</div>

The Setup Checks are accessed directly in the Web UI via _Admin settings-\>Overview_.

---

<div class="post-metadata">

**Author:** ![bb77](https://help.nextcloud.com/letter_avatar/bb77/32/5_5575768a8748004e209b776fc1b2916d.png) [@bb77](https://help.nextcloud.com/u/bb77)\
**Post date:** [March 6, 2025, 2:11pm UTC](https://help.nextcloud.com/t/occ-setupchecks-remote-address-could-not-be-determined/219079/6 "2025-03-06T14:11:06Z")

</div>

I guess it doesn’t make much sense to run the `Brute-force Throttle` and `Forward for headers` checks from CLI then. Maybe they should be skipped when running `setupchecks` via `occ` commad, just like the PHP opcache check:

```auto
✓ PHP opcache: Checking from CLI, OPcache checks have been skipped.

```

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [June 4, 2025, 2:11pm UTC](https://help.nextcloud.com/t/occ-setupchecks-remote-address-could-not-be-determined/219079/7 "2025-06-04T14:11:33Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
