title: Not able to access container by user-defined network name from another container
body: <p>I created a new network.
  Exposed port 8086 for one of my containers and also published this port. Run both containers with <code>--network influx-net</code>.</p>
  <p>Check <code>docker network inspect influx-net</code> gives my</p>
  <pre class="lang-json prettyprint-override"><code>docker network inspect influx-net
  [
      {
          &quot;Name&quot;: &quot;influx-net&quot;,
          &quot;Id&quot;: &quot;76ad2f3ec76e15d88330739c2b3db866a15d5affb0912c64c7ec7615b14e8570&quot;,
          &quot;Created&quot;: &quot;2021-11-09T17:32:42.479637982+09:00&quot;,
          &quot;Scope&quot;: &quot;local&quot;,
          &quot;Driver&quot;: &quot;bridge&quot;,
          &quot;EnableIPv6&quot;: false,
          &quot;IPAM&quot;: {
              &quot;Driver&quot;: &quot;default&quot;,
              &quot;Options&quot;: {},
              &quot;Config&quot;: [
                  {
                      &quot;Subnet&quot;: &quot;172.18.0.0/16&quot;,
                      &quot;Gateway&quot;: &quot;172.18.0.1&quot;
                  }
              ]
          },
          &quot;Internal&quot;: false,
          &quot;Attachable&quot;: false,
          &quot;Ingress&quot;: false,
          &quot;ConfigFrom&quot;: {
              &quot;Network&quot;: &quot;&quot;
          },
          &quot;ConfigOnly&quot;: false,
          &quot;Containers&quot;: {
              &quot;92c0f2c5dc5c75db15e5a5ea0bed6ec5047f0c57dba06283ef6e72c8adcc6a3a&quot;: {
                  &quot;Name&quot;: &quot;ultimate_hydroponics&quot;,
                  &quot;EndpointID&quot;: &quot;529c2c31baaec7685251a584e8f5643b4669966372b629d67f3a9910da5e809c&quot;,
                  &quot;MacAddress&quot;: &quot;02:42:ac:12:00:02&quot;,
                  &quot;IPv4Address&quot;: &quot;172.18.0.2/16&quot;,
                  &quot;IPv6Address&quot;: &quot;&quot;
              },
              &quot;a678409dbc43685fd089ed29f42601b67c46c20b66c277e461a8fe2adad31b5a&quot;: {
                  &quot;Name&quot;: &quot;influxdb&quot;,
                  &quot;EndpointID&quot;: &quot;73263b9969dc9c67760ec3aab4ebab75e16763c75cd498828a737d9e56ed34ef&quot;,
                  &quot;MacAddress&quot;: &quot;02:42:ac:12:00:03&quot;,
                  &quot;IPv4Address&quot;: &quot;172.18.0.3/16&quot;,
                  &quot;IPv6Address&quot;: &quot;&quot;
              }
          },
          &quot;Options&quot;: {},
          &quot;Labels&quot;: {}
      }
  ]
  
  </code></pre>
  <p>So my both containers are connected to the network <code>influx-net</code>.
  But when I trying to ping or <code>wget</code> InfluxDB container (influx-net:8086) from another container by it's network name I'm obtaining nothing.
  Also when I do the same with <em>192.168.111.11:8086</em> (my pc IP), I'm getting a response.
  What is the problem?
  Local PC firewall is off.</p>