Problem or Motivation
Summary
Allow OpenMAIC to connect to a locally hosted (for example) LM Studio instance using a private/local network IP address.
Environment fir private use
- PC A: Running OpenMAIC
- PC B: Running LM Studio and other local generative AI services
- Both machines are in the same local network (LAN)
Current Behavior
LM Studio is running on PC B and is accessible via a local IP address, e.g.:
http://192.168.1.25:1234/v1
When configuring OpenMAIC on PC A to use this endpoint, the request is rejected with:
Local/private network URLs are not allowed
As a result, OpenMAIC cannot connect to LM Studio or other locally hosted AI services running on another machine in the same network.
Expected Behavior
OpenMAIC should allow:
- Connections to private IP ranges:
- 192.168.x.x
- 10.x.x.x
- 172.16.x.x – 172.31.x.x
- Custom base URLs pointing to LAN-hosted model endpoints
- A configurable option to explicitly allow private network access
Use Case
Typical local development setup:
PC B (AI Server)
- LM Studio
- Other local LLM backends
- Dedicated GPU
PC A (Client / Docker Machine)
This setup enables:
- GPU isolation
- Better hardware utilization
- Clean separation between inference server and client
- Scalable local AI infrastructure
Currently, this architecture is blocked due to private network URL restrictions.
Thanks for reading
Thank you for taking the time to review this request.
It would be greatly appreciated if this feature could be considered and implemented.
Proposed Solution
One of the following approaches would solve the issue:
- Add a configuration option to allow private network URLs
- Add an environment variable such as:
ALLOW_PRIVATE_NETWORK=true
Alternatives Considered
No response
Area
Classroom generation
Additional Context
No response
Problem or Motivation
Summary
Allow OpenMAIC to connect to a locally hosted (for example) LM Studio instance using a private/local network IP address.
Environment fir private use
Current Behavior
LM Studio is running on PC B and is accessible via a local IP address, e.g.:
http://192.168.1.25:1234/v1When configuring OpenMAIC on PC A to use this endpoint, the request is rejected with:
Local/private network URLs are not allowedAs a result, OpenMAIC cannot connect to LM Studio or other locally hosted AI services running on another machine in the same network.
Expected Behavior
OpenMAIC should allow:
Use Case
Typical local development setup:
PC B (AI Server)
PC A (Client / Docker Machine)
This setup enables:
Currently, this architecture is blocked due to private network URL restrictions.
Thanks for reading
Thank you for taking the time to review this request.
It would be greatly appreciated if this feature could be considered and implemented.
Proposed Solution
One of the following approaches would solve the issue:
ALLOW_PRIVATE_NETWORK=trueAlternatives Considered
No response
Area
Classroom generation
Additional Context
No response