Skip to content

Localhost stops working for windows containers on latest stable build #1737

Closed
@mlmeyers

Description

Expected behavior

docker run -d -p 80:80 nanoserver/apache24
Call http://localhost:80 from the browser will show its working page

Actual behavior

Cannot reach http://localhost:80 from the browser.

Information

PS C:\WINDOWS\system32> docker version
Client:
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:05:22 2017
OS/Arch: windows/amd64

Server:
Engine:
Version: 17.12.0-ce
API version: 1.35 (minimum version 1.24)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:15:52 2017
OS/Arch: windows/amd64
Experimental: true

A diagnostic was uploaded with id: ED8A1BCA-EA54-42C8-B846-21A0B2FBB388/2018-02-21_22-09-42

WinVer: 16299.284

Unfortunately I am not sure what triggers this and how to reproduce it. It will work OK after a nuke and pave re-install and then simply stop working. I have now encountered this behavior on 3 different workstations and on others it never seems to present itself. Starting to wonder if compose triggers it as I started a few compose projects wiht exposed ports in my last run when it again stopped working (dart at a dart board).

When the issue is encountered I see this in the logs.

[21:42:21.217][LocalhostForwarder][Info ] TransortErrorException 1
[21:42:21.217][LocalhostForwarder][Info ] Failed to forward tcp port 27019 to 172.29.42.128:27017
[21:42:21.217][LocalhostForwarder][Info ] Reconciliation failed: invalid argument

I am rather certain the log points to the issue, unfortunately I have come up empty trying to understand what causes the exception and how to resolve it.

This is a major problem for me as I am rolling out docker to developers. We have tests that look to localhost and am relying on this to work properly. Any help / assistance on this issue would be greatly appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions