Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Port forwarding issues on Windows #164

Closed

Description

@gmlewis

Running the latest version 1.0.1 on Windows with a clean install and VirtualBox 4.3.12r93733, I have a container running and "docker ps" says the ports are:
0.0.0.0:49153->5858/tcp, 0.0.0.0:49154->8080/tcp, 0.0.0.0:49155->8181/tcp

From within the "boot2docker ssh" window, I can type:

docker@boot2docker:~$ curl -I localhost:49154
HTTP/1.1 200 OK
...

But if I try every possible IP I can think of on the host with port 8080, I get
HTTP/1.1 503 Service Unavailable

I tried the port-forwarding script from cygwin to forward all ports between 49000..49900 (which used to work before version 1.0.0), but that doesn't seem to work anymore.

I'm probably doing something wrong, but don't know what it is. Any ideas?

Thanks!
-- Glenn

Activity

  1. SvenDowideit commented on Jun 26, 2014

    @SvenDowideit
    Contributor

    when it says 0.0.0.0:49154->8080/tcp it means that the container's port 8080 is hooked up to your boot2docker vm's port 49154.

    virtualbox's port forwarding is terrible, so in b2d 1.0, we've added a host only network - and the vm's ip can be gotten using boot2docker ip: chances are that it'll report 192.168.59.103

    then you will be able to http://192.168.59.103:49154

  2. gmlewis commented on Jun 26, 2014

    @gmlewis
    ContributorAuthor

    Thank you very much, Sven, for the explanation! That was the issue.
    Closing.

  3. added a commit that references this issue on Nov 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions