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

[Bug]: can only listen on one address or all addresses #1063

Open
smoser opened this issue Dec 14, 2022 · 0 comments
Open

[Bug]: can only listen on one address or all addresses #1063

smoser opened this issue Dec 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@smoser
Copy link

smoser commented Dec 14, 2022

zot version

v1.4.3-0-g69f0cf6

Describe the bug

I wanted to run a zot thatlistened on localhost and also on an existing IP address.
It seems there is no way to accomplish that.

You can do:

  • single address with 'address: ip.or.hostname.here`
  • all interfaces with address: "" (this is quite non-obvious, not documented and does not have this behavior if you leave 'address' out entirely).

But you can't list a set of interfaces or ip to listen on.

To reproduce

  1. Configuration
http:
  #address: "10.0.0.2"
  address: ""
  port: 5000
  realm: zot
  auth:
    htpasswd:
      path: htpasswd.txt
log:
  level: debug
  audit: logs/audit.log
  output: logs/zot.log
storage:
  rootdirectory: storage
  1. Client tool used: telnet
  2. Seen error: connection refused.

Expected behavior

No response

Screenshots

No response

Additional context

Maybe there is a common way to do this , but I'm missing it. This could just be 'user' error.

@smoser smoser added the bug Something isn't working label Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant