Skip to content

Problem connecting after a new IP address #4154

@ghost

Description

Issue and Steps to Reproduce

Today I got a new IP address and after a restart my test lightning node wouldn't connect to my main lightning node anymore. Other external lightning nodes connected correctly (to my main lightning node).

So I did, at my test lightning node (NodeID is my main lightning node ID (of course)):

lightning-cli connect NodeID@NewIP:9735
{
   "code": 401,
   "message": "OldIP:9735: Connection establishment: Connection timed out. "
}

This doesn't seem right, it still points to my old IP address!

Removing the gossip_store didn't help.

Only after (at my test lightning node):

lightning-cli disconnect NodeID true

was I able to connect without a problem (with the above command lightning-cli connect NodeID@NewIP:9735)

This behavior doesn't seem right to me.

getinfo output

v0.9.1-80-g71381eb

(Note that getinfo gives the right new IP address)

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