title: Specify listening address 0.0.0.0 for forwarded port in VSCode Remote Containers
body: <p>I am developing inside a docker container using the VSCode Remote Containers extension. I start a server inside the container which listens at port 3342 and would like to access the webpage using other devices in the same network.</p>
  <p>I forward port 3342 inside the Ports tab and I am able to open the webpage in my host OS using <code>localhost:3342</code> and <code>127.0.0.1:3342</code>, but failed when using my local IP address <code>10.10.11.90:3342</code>.</p>
  <p>I checked the listening ports in my host OS:</p>
  <pre><code>&gt; sudo lsof -nP -iTCP:3342 | grep LISTEN
  Code\x20H 4181 alvin   27u  IPv4 0x65c113c13860c1b7      0t0  TCP 127.0.0.1:3342 (LISTEN)
  </code></pre>
  <p>It seems that VSCode is only listening at <code>127.0.0.1</code>.</p>
  <p>Is there a way for me to tell VSCode to listen at <code>0.0.0.0</code> so that it accepts requests from all network interface?</p>
  <hr />
  <p>My configuration:</p>
  <ul>
  <li>OS: macOS 10.15.7</li>
  <li>VSCode: 1.57.0</li>
  <li>VSCode Remote Containers extension: 0.183.0</li>
  </ul>