Skip to content

error when use FQDN in http upstream address #26

@grzech0

Description

@grzech0

If I use FQDN instead IP in http upstream address, when starting moproxy, I get error:

run with FQDN:
$ moproxy --port 2080 --remote-dns --http squid.org:3128
error: invalid value 'squid.org:3128' for '--http ': squid.org:3128 isn't a valid server address

For more information, try '--help'

run with IP:
$ moproxy --port 2080 --remote-dns --http 155.254.17.151:3128
2024-04-18T12:36:25.354835Z INFO load: moproxy::server: total 1 server(s) loaded
2024-04-18T12:36:25.355699Z INFO moproxy::server: listen on [::]:2080

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