title: Electron app Failed to get ipaddress when exported as Flatpak
body: <p>I am trying to make a Flatpak for my little application “<a href="https://go.openspeedtest.com/Server" rel="nofollow noreferrer">OpenSpeedTest-Server</a>”</p>
  <p>This is a simple network performance estimation tool. It is working fine on Windows, Mac and Linux (DEB).</p>
  <p><strong>1) When i Export the same in Flatpak, Application unable to get the client device ip address.</strong></p>
  <p><strong>2) Also i am not able to put a custom icon for my Flatpak.</strong></p>
  <p>I used electronforge.
  <a href="https://i.stack.imgur.com/QBN3u.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QBN3u.jpg" alt="enter image description here" /></a></p>
  <p>Here is my package.json</p>
  <pre><code>{
    &quot;name&quot;: &quot;OpenSpeedTest-Server&quot;,
    &quot;productName&quot;: &quot;OpenSpeedTest-Server&quot;,
    &quot;version&quot;: &quot;2.1.0&quot;,
    &quot;description&quot;: &quot;Network Speed Test Server - by OpenSpeedTest&quot;,
    &quot;main&quot;: &quot;src/index.js&quot;,
    &quot;scripts&quot;: {
      &quot;start&quot;: &quot;electron-forge start&quot;,
      &quot;package&quot;: &quot;electron-forge package&quot;,
      &quot;make&quot;: &quot;electron-forge make&quot;,
      &quot;publish&quot;: &quot;electron-forge publish&quot;,
      &quot;lint&quot;: &quot;echo \&quot;No linting configured\&quot;&quot;
    },
    &quot;keywords&quot;: [],
    &quot;author&quot;: {
      &quot;name&quot;: &quot;OpenSpeedTest&quot;,
      &quot;email&quot;: &quot;support@openspeedtest.com&quot;
    },
    &quot;license&quot;: &quot;MIT&quot;,
    &quot;config&quot;: {
      &quot;forge&quot;: {
        &quot;packagerConfig&quot;: {
          &quot;icon&quot;: &quot;src/icon.png&quot;
        },
        &quot;makers&quot;: [
          {
        &quot;name&quot;: &quot;@electron-forge/maker-flatpak&quot;,
        &quot;config&quot;: {
          &quot;name&quot;: &quot;OpenSpeedTest_Server&quot;,
          &quot;options&quot;: {
            &quot;categories&quot;: [
              &quot;Utility&quot;
            ],
            &quot;icon&quot;: &quot;src/icon.png&quot;
          }
        }
      },
          {
            &quot;name&quot;: &quot;@electron-forge/maker-zip&quot;,
            &quot;platforms&quot;: [
              &quot;darwin&quot;
            ]
          },
          {
            &quot;name&quot;: &quot;@electron-forge/maker-deb&quot;,
            &quot;config&quot;: {}
          },
          {
            &quot;name&quot;: &quot;@electron-forge/maker-rpm&quot;,
            &quot;config&quot;: {}
          }
        ]
      }
    },
    &quot;dependencies&quot;: {
      &quot;cors&quot;: &quot;^2.8.5&quot;,
      &quot;electron-squirrel-startup&quot;: &quot;^1.0.0&quot;,
      &quot;express&quot;: &quot;^4.17.1&quot;,
      &quot;internal-ip&quot;: &quot;^6.2.0&quot;,
      &quot;tcp-port-used&quot;: &quot;^1.0.2&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;@davidwinter/electron-forge-maker-snap&quot;: &quot;^2.0.4&quot;,
      &quot;@electron-forge/cli&quot;: &quot;^6.0.0-beta.57&quot;,
      &quot;@electron-forge/maker-deb&quot;: &quot;^6.0.0-beta.57&quot;,
      &quot;@electron-forge/maker-flatpak&quot;: &quot;^6.0.0-beta.57&quot;,
      &quot;@electron-forge/maker-rpm&quot;: &quot;^6.0.0-beta.57&quot;,
      &quot;@electron-forge/maker-squirrel&quot;: &quot;^6.0.0-beta.57&quot;,
      &quot;@electron-forge/maker-zip&quot;: &quot;^6.0.0-beta.57&quot;,
      &quot;electron&quot;: &quot;13.1.2&quot;
    }
  }
  </code></pre>
  <p>How can i solve this issue?</p>