Code Monkey home page Code Monkey logo

Comments (4)

reynir avatar reynir commented on June 4, 2024

Thank you for your report.

I found the relevant code:
https://github.com/roburio/albatross/blob/9fee7f7c082c766fd7505dee522d026d76987e1c/src/vmm_lwt.ml#L15-L23

The documentation for Unix.inet_addr_any says

A special IPv4 address, for use only with [bind], representing              
all the Internet addresses that the host machine possesses. 

So it seems we should maybe use Unix.inet6_addr_any instead. In the meantime I think you should be able to use systemd socket activation (if you use systemd). You should have a sample .service and .socket file installed in /usr/share/doc/albatross/ I believe.

It's a good point that it is currently not possible to specify what address to listen on.

from albatross.

hannesm avatar hannesm commented on June 4, 2024

@reynir thanks for the fix, indeed a command line option to specify the listen address for the tls endpoint would be nice.

from albatross.

palainp avatar palainp commented on June 4, 2024

Thanks for your quick fix!

from albatross.

hannesm avatar hannesm commented on June 4, 2024

Fixed by #144 #147

from albatross.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.