Skip to content

Add support for specifying a custom IP address for Ollama connection #5

@ALevkas

Description

@ALevkas

Description

Currently, the program assumes that Ollama is running locally on port 11434 (e.g., localhost:11434).
However, in some setups, Ollama runs on a different machine within the same network or on a remote server.
It would be very helpful to have an option in the settings UI to manually specify an IP address (and optionally port) for Ollama instead of assuming localhost.

Proposed solution

Add a configuration field in the Ollama section allowing users to input a custom IP address and port (e.g., 192.168.1.100:11434).
Validate the input format and display an error if the connection cannot be established.
Fallback to default (localhost:11434) if no custom IP is provided.

Use case

This would enable users running Ollama remotely (e.g., on a dedicated local server or NAS) to connect without needing to proxy or mirror the port locally.

Example

Ollama host: 192.168.1.100
Port: 11434

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions