Skip to content

When Change Host , I can not list model #39

@edwardkuo

Description

@edwardkuo

After I changed the Host to 0.0.0.0 and tried to modify other Clients to make calls, I found that I couldn't load the model or execute the List command. The following error occurred:

PS C:\tool> foundry cache list
Exception: Request to local service failed. Uri:http://0.0.0.0:5272/openai/models
IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address. (Parameter 'hostName') (0.0.0.0:5272)
Please check service status with 'foundry service status'.

However, when I changed it to localhost, it worked. This logic seems a bit unreasonable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions