Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can only access via "localhost", not the configured IP address #1

Open
stodge opened this issue Oct 7, 2023 · 0 comments
Open

Can only access via "localhost", not the configured IP address #1

stodge opened this issue Oct 7, 2023 · 0 comments

Comments

@stodge
Copy link

stodge commented Oct 7, 2023

I followed your instructions and changed 192.168.1.2 to 192.168.1.39, to match my environment. When nextcloud is ready, I can only access it via http://localhost, not http://192.168.1.39. The IP is in the configured trusted domains:

  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => '192.168.1.39',
  ),

I see errors in the log, but I'm not sure where the problem lies.

web_1    | 2023/10/07 00:07:32 [notice] 31#31: *1 "^DavClnt" does not match "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0", client: 172.22.0.1, server: , request: "GET / HTTP/1.1", host: "localhost"
web_1    | 2023/10/07 00:07:32 [notice] 31#31: *1 "^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy)" does not match "/index.php", client: 172.22.0.1, server: , request: "GET / HTTP/1.1", host: "localhost"
app_1    | 172.22.0.5 -  07/Oct/2023:00:07:32 +0000 "GET /index.php" 302
web_1    | 172.22.0.1 - - [07/Oct/2023:00:07:32 +0000] "GET / HTTP/1.1" 302 5 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0" "-"
web_1    | 2023/10/07 00:07:32 [notice] 31#31: *1 "^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy)" does not match "/index.php/login", client: 172.22.0.1, server: , request: "GET /login HTTP/1.1", host: "localhost"
app_1    | 172.22.0.5 -  07/Oct/2023:00:07:32 +0000 "GET /index.php" 200
web_1    | 172.22.0.1 - - [07/Oct/2023:00:07:32 +0000] "GET /login HTTP/1.1" 200 5958 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0" "-"

It seems I can access it via http://172.22.0.1/, which is a docker configured interface.

Suggestions appreciated.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant