[GH-ISSUE #5098] AnythingLLM Docker: Link scraper access to sites hosted in local area network #4914

Closed
opened 2026-06-05 14:50:50 -04:00 by yindo · 2 comments
Owner

Originally created by @fairol1988 on GitHub (Mar 2, 2026).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5098

Background

  1. I've set up AnythingLLM + Ollama using Docker in my host machine (Host IP: 192.168.25.198)
  2. I've set up a HTML website from another machine (Site Host IP: 192.168.25.75) using IIS.

Problem Details

  1. When I link scrape my HTML (http://192.168.25.75:####) it will give response "I could not scrape http://192.168.25.75:####.
  2. As a test, I link scrape the anythingllm page from the host machine using 127.0.0.1:3001 and it works.

Does it mean my anythingllm does not have access outside the container itself?

Originally created by @fairol1988 on GitHub (Mar 2, 2026). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5098 Background 1. I've set up AnythingLLM + Ollama using Docker in my host machine (Host IP: 192.168.25.198) 2. I've set up a HTML website from another machine (Site Host IP: 192.168.25.75) using IIS. Problem Details 1. When I link scrape my HTML (http://192.168.25.75:####) it will give response "I could not scrape http://192.168.25.75:####. 2. As a test, I link scrape the anythingllm page from the host machine using 127.0.0.1:3001 and it works. Does it mean my anythingllm does not have access outside the container itself?
yindo closed this issue 2026-06-05 14:50:50 -04:00
Author
Owner

@fairol1988 commented on GitHub (Mar 2, 2026):

Oh btw, the other machine which hosts my html site is able to access the anythingllm through IP address forwarding of the anythingllm host machine. I used this on my anythingllm host machine.

"netsh interface portproxy set v4tov4 listenport=3001 listenaddress=0.0.0.0 connectport=3001 connectaddress=172.21.28.130"

Edit: It turns out its due to the html file. If i link scrape a text file (.txt) on the hosted site, it will work. My original html file is an excel file converted into html.

<!-- gh-comment-id:3982438949 --> @fairol1988 commented on GitHub (Mar 2, 2026): Oh btw, the other machine which hosts my html site is able to access the anythingllm through IP address forwarding of the anythingllm host machine. I used this on my anythingllm host machine. "netsh interface portproxy set v4tov4 listenport=3001 listenaddress=0.0.0.0 connectport=3001 connectaddress=172.21.28.130" Edit: It turns out its due to the html file. If i link scrape a text file (.txt) on the hosted site, it will work. My original html file is an excel file converted into html.
Author
Owner

@timothycarambat commented on GitHub (Mar 2, 2026):

It can, it is disabled by default: https://docs.anythingllm.com/configuration#local-ip-address-scraping

<!-- gh-comment-id:3985161070 --> @timothycarambat commented on GitHub (Mar 2, 2026): It can, it is disabled by default: https://docs.anythingllm.com/configuration#local-ip-address-scraping
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4914