[GH-ISSUE #3460] [BUG]: Bug when using AnythingLLM on a local server: no access from the server's IP address #2234

Closed
opened 2026-02-22 18:28:46 -05:00 by yindo · 2 comments
Owner

Originally created by @start-life on GitHub (Mar 14, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3460

How are you running AnythingLLM?

Local development

What happened?

Hi, I'm running AnythingLLM on my server without Docker and it's running locally with the address localhost:3001. I want to run it on my domain or the server's IP address and not on localhost:3001. To do this, I made a reverse proxy with Nginx, but it doesn't work. It shows an infinite loading wheel (picture attached) when browsing through the server's IP address. Through localhost:3001 it does work. Does anyone know how to solve this? And there's another problem. When I want to embed it on my website, it gives me HTML code to embed with the address localhost:3001 and not with the IP address of my server, which makes it impossible to access. I estimate that this is because the application was running on localhost:3001 and not on the server's IP address. Even though I made a reverse proxy with Nginx, the application itself still ran on localhost:3001. How can I fix this?

Image

Are there known steps to reproduce?

This includes a normal AnythingLLM run and a reverse proxy with Nginx to the server IP address

Originally created by @start-life on GitHub (Mar 14, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3460 ### How are you running AnythingLLM? Local development ### What happened? Hi, I'm running AnythingLLM on my server without Docker and it's running locally with the address localhost:3001. I want to run it on my domain or the server's IP address and not on localhost:3001. To do this, I made a reverse proxy with Nginx, but it doesn't work. It shows an infinite loading wheel (picture attached) when browsing through the server's IP address. Through localhost:3001 it does work. Does anyone know how to solve this? And there's another problem. When I want to embed it on my website, it gives me HTML code to embed with the address localhost:3001 and not with the IP address of my server, which makes it impossible to access. I estimate that this is because the application was running on localhost:3001 and not on the server's IP address. Even though I made a reverse proxy with Nginx, the application itself still ran on localhost:3001. How can I fix this? ![Image](https://github.com/user-attachments/assets/68ad7b8a-d539-48c8-8896-b523b0a17ac6) ### Are there known steps to reproduce? This includes a normal AnythingLLM run and a reverse proxy with Nginx to the server IP address
yindo added the possible bug label 2026-02-22 18:28:46 -05:00
yindo closed this issue 2026-02-22 18:28:46 -05:00
Author
Owner

@shatfield4 commented on GitHub (Mar 14, 2025):

This is going to be out of scope for our repo since this applies to your custom setup with your nginx reverse proxy but you can check this documentation out and it may help.

https://github.com/Mintplex-Labs/anything-llm/blob/master/cloud-deployments/aws/cloudformation/aws_https_instructions.md#step-7-create-simple-http-proxy-configuration-for-anythingllm

@shatfield4 commented on GitHub (Mar 14, 2025): This is going to be out of scope for our repo since this applies to your custom setup with your nginx reverse proxy but you can check this documentation out and it may help. https://github.com/Mintplex-Labs/anything-llm/blob/master/cloud-deployments/aws/cloudformation/aws_https_instructions.md#step-7-create-simple-http-proxy-configuration-for-anythingllm
Author
Owner

@start-life commented on GitHub (Mar 15, 2025):

I think it has nothing to do with my Nginx configuration. It has to do with the project configuration. How can I actually configure the project to understand that it is running on a domain and not on a localhost? Since my Nginx settings are great and you see that it runs on the domain, the problem is that the project that sits on the computer runs on local host and not on the domain.

@start-life commented on GitHub (Mar 15, 2025): I think it has nothing to do with my Nginx configuration. It has to do with the project configuration. How can I actually configure the project to understand that it is running on a domain and not on a localhost? Since my Nginx settings are great and you see that it runs on the domain, the problem is that the project that sits on the computer runs on local host and not on the domain.
yindo changed title from [BUG]: Bug when using AnythingLLM on a local server: no access from the server's IP address to [GH-ISSUE #3460] [BUG]: Bug when using AnythingLLM on a local server: no access from the server's IP address 2026-06-05 14:45:20 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2234