Primary node showing the public ip instead of lan ip when cluster is configured

The cluster tab of master node shows the licensed secondary ip and not the lan ip of the slave node. This happens when the slave node is behind a NAT. 

secondary node ip

In order to correct the other node ip, run the following command

/usr/local/ezlogin/ez_queryrunner.php "update prefix_settings set value='192.168.56.112' where name='remote_ip'"

 Now the cluster tab would show the lan ip of the other node instead of the public ip

secondary-fixed

 

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    LICENSE: ERROR 1032
    Viewed 384 times since Sat, Nov 7, 2020
    Setting session time out for the webinterface
    Viewed 3575 times since Wed, Jun 14, 2017
    Will i be able to access my server if the ezeelogin license server goes down?
    Viewed 2197 times since Wed, Jun 14, 2017
    Could not setup Ezeelogin Web SSH service
    Viewed 3108 times since Sat, Nov 18, 2017
    Configuration and error log files to check for troubleshooting
    Viewed 6006 times since Thu, Jun 15, 2017
    You don’t have permission to access /ezlogin/index.php/auth/login on this server
    Viewed 2281 times since Fri, Aug 10, 2018
    Unable to login into cpanel/whm with one click
    Viewed 6553 times since Wed, Jun 14, 2017
    Node process fails to start with Error: Cannot find module ’express’
    Viewed 673 times since Wed, Sep 16, 2020
    sshd[902]: debug1:PAM: password authentication failed for an illegal user: Authentication failure
    Viewed 7728 times since Thu, Feb 1, 2018
    How to install node in Ezeelogin gateway server?
    Viewed 113 times since Mon, Dec 7, 2020