Git Product home page Git Product logo

Comments (8)

JMesser81 avatar JMesser81 commented on August 19, 2024 8

Soon... :-)

from aspnet-docker.

odalet avatar odalet commented on August 19, 2024 4

Can't wait for this limitation to be fixed as well. Any uservoice of some kind for upvoting it?

from aspnet-docker.

mhedgpeth avatar mhedgpeth commented on August 19, 2024 2

Thanks for the update @JMesser81. As I've gotten into windows virtualization, this is the one problem that keeps me from telling me that windows containers are ready to go. I'm looking forward to a fix.

from aspnet-docker.

1oglop1 avatar 1oglop1 commented on August 19, 2024 2

Why is this not written in official documentation? I'm reading through it for 2 weeks and still finding only github issues with scattered information!

from aspnet-docker.

artisticcheese avatar artisticcheese commented on August 19, 2024 1

This is already causing confusion and anger (https://stackoverflow.com/questions/44817861/windows-container-port-binding-not-working-on-windows-server-2016-using-docker/44827162#44827162)

from aspnet-docker.

shirhatti avatar shirhatti commented on August 19, 2024

There is a currently a known limitation in Windows NAT

Here's the relevant section if you don't want to read that entire article

Internal endpoints assigned to VMs or containers cannot be accessed using the external IPs / ports referenced in NAT static port mappings directly from the NAT host. From the NAT host, these internal endpoints must be addressed directly by their internal IP and ports. For instance, assume a container endpoint has IP 172.16.1.100 and is running a web server which is listening on port 80. Moreover, assume a port mapping has been created through docker to forward traffic from the host’s IP address (10.10.50.20) received on TCP port 8080 to the container endpoint. In this case, a user on the container host cannot directly access the web server using the externally mapped ports. e.g. A user operating on the container host cannot access the container web server indirectly on http://10.10.50.20:8080. Instead, the user must directly access the container web server on http://172.16.1.100:80.

The one caveat to this limitation is that the internal endpoint can be accessed using the external IP/port from a separate, VM/container endpoint running on the same NAT host: this is called hair-pinning. E.g. A user operating on container A can access a web server running in Container B using the internal IP and port of http://10.10.50.20:8080.

from aspnet-docker.

paddyfay avatar paddyfay commented on August 19, 2024

Any idea when this limitation will be overcome?

from aspnet-docker.

mhedgpeth avatar mhedgpeth commented on August 19, 2024

@shirhatti should this be reopened? Are there plans to fix this?

from aspnet-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.