Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when use FQDN in http upstream address #26

Open
grzech0 opened this issue Apr 18, 2024 · 0 comments
Open

error when use FQDN in http upstream address #26

grzech0 opened this issue Apr 18, 2024 · 0 comments

Comments

@grzech0
Copy link

grzech0 commented Apr 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant