title: Connect via Socket from Host machine to container using host:port (port mapping) (windows to windows)
body: <p>Connect to docker container (windows 10) from host via Socket connection</p>
  
  <p>I have tried to build an image using windows 10 as base image, expose port that i want connect to from host machine (40030).</p>
  
  <p>Dockerfile:</p>
  
  <pre><code>FROM mcr.microsoft.com/windows:1903
  
  # Set working directory
  WORKDIR /app
  
  EXPOSE 40020
  </code></pre>
  
  <p>And this is the docker run command:</p>
  
  <pre><code>docker run -it --rm -p 40020:40020 sample:dev
  </code></pre>
  
  <p>I expect to connect from Host machine to container machine via socket connection. Maybe there are some issue with Socket connection at all, because simple HTTP server is working (simple nodejs server return the response from container to host)</p>