How to make sure Electrum connects to my private Electrs server and to no other server? I want to connect my Electrum wallet app to my private Electrs server in my local LAN which is also reachable via onion. I want to just use this one server, no other server. My ~/.electrum/config is
{
    &quot;alias&quot;: &quot;&quot;,
    &quot;auto_connect&quot;: false,
    &quot;blockchain_preferred_block&quot;: {
        &quot;hash&quot;: &quot;000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f&quot;,
        &quot;height&quot;: 0
    },
    &quot;check_updates&quot;: true,
    &quot;config_version&quot;: 3,
    &quot;gui_last_wallet&quot;: &quot;/Users/$USER/.electrum/wallets/default_wallet&quot;,
    &quot;is_maximized&quot;: false,
    &quot;oneserver&quot;: false,
    &quot;proxy&quot;: &quot;socks5:127.0.0.1:9050::&quot;,
    &quot;recently_open&quot;: [
        &quot;/Users/$USER/.electrum/wallets/default_wallet&quot;
    ],
    &quot;rpcpassword&quot;: &quot;&quot;,
    &quot;rpcuser&quot;: &quot;&quot;,
    &quot;server&quot;: &quot;something.onion:50002:s&quot;,
    &quot;show_channels_tab&quot;: true
}

This seems to work fine in the sense that I am connected. But I have a lot of nodes in my list under the &quot;Network&quot; settings in Electrum. And this is because the oneserver property is set to false. If I try to set it to true in the config manually, Electrum starts and works fine but the config file is reverted to its old state with false in it.
How can I make sure this works?
I don't know why this happened several times. But in the end the config worked with true and now my nodes show only one connection and this is the private server.