Skip to content

Service is not listening on all interfaces #24

Closed

Description

@56k-modem

I can access some other services on other ports via Tailscale, tried to access Docmost but it looks like it is configured not to accept connections on all interfaces:

http://hostname.lan:3000 - works
http://[tailscale IP]:3000 - doesn't work

Would it be possible to let us configure the listen address as 0.0.0.0 please?

Activity

  1. ellieschieder commented on Jun 30, 2024

    @ellieschieder

    --host does that.

    pnpm nx run client:dev --host
  2. 56k-modem commented on Jun 30, 2024

    @56k-modem
    Author

    Sorry if this should be obvious but how can I apply this in my docker-compose.yml? Tried network_mode: host but the service won't start that way.

  3. Philipinho commented on Jun 30, 2024

    @Philipinho
    Member

    The server already listens on 0.0.0.0.

    await app.listen(process.env.PORT || 3000, '0.0.0.0');

    I have not used Tailscale before, but I will research the issue more.

  4. 56k-modem commented on Jul 1, 2024

    @56k-modem
    Author

    This is now working after upgrading to v0.2.1, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions