Skip to content

Admin interface picks up wrong IP address #22

Closed

Description

@samstokes

After a fresh install on Ubuntu 11.10, I was surprised to see the admin interface (http://localhost:8080/#servers/[server-id]) claim that my server's IP address was 192.168.46.1 (while I was expecting something on the 192.168.1.0/24 subnet). It turns out 192.168.46.1 is the IP address of "vmnet1", a virtual network adapter that VMWare Workstation installed. I guess RethinkDB is using some heuristic to choose which adapter to report.

Not sure yet whether this has any practical consequences, but it was at least surprising.

Activity

  1. mglukhovsky commented on Nov 11, 2012

    @mglukhovsky
    Member

    Sam, thanks for pointing this out.

    We should improve the heuristic used to pick the IP address, or at least indicate which adapter we're picking from the server in question. It certainly doesn't have any practical consequences, but I'll see what we can do to improve this in the admin interface.

  2. skorokithakis commented on Nov 11, 2012

    @skorokithakis

    It should probably do what is described in my feature request here: #28, both for the server and admin interface (perhaps separately configurable).

  3. coffeemug commented on Nov 11, 2012

    @coffeemug
    Contributor

    Temporarily moving to backlog -- there are some more pressing issues to work out first.

  4. coffeemug commented on Mar 18, 2013

    @coffeemug
    Contributor

    Now that #28 is done, we can actually address this. The easiest way for this to work is probably for the server to report which addresses it's actually listening on, and have the client report those. I'm not sure if this can make it into 1.5, I'll see what the good dev people have to say about it and report back.

  5. modified the milestones: outdated, backlog on Oct 8, 2014
  6. danielmewes commented on Oct 8, 2014

    @danielmewes
    Member

    Closing. #28 has been addressed so I don't think there's actually any remaining issue here. Unless I misunderstand the scope of the issue?

    (also @Tryneus has rewritten much of the IP address handling I believe)

  7. added a commit that references this issue on Jul 24, 2026
  8. added a commit that references this issue on Aug 7, 2026
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions