Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

docker run works / sail run fails (failed to refresh code-server port...) #258

Open
zibberzoo opened this issue Jan 6, 2020 · 0 comments

Comments

@zibberzoo
Copy link

I am using WSL 2 with Docker Desktop Edge (WSL 2 integration selected).

I can run images via docker from within my Ubuntu 18.04 WSL 2 instance; however, when running via sail, browsers fail to connect to 127.0.0.1:xyz for the port xyz reported by sail run. The problem persists even when my firewall is turned off. The log files show two and only two lines. An example is:

2020-01-05 23:19:01 INFO listening on http://127.0.0.1:38997
2020-01-05 23:19:12 FATAL failed to refresh code-server port: failed while trying to find code-server port: Get http://localhost:42739: dial tcp 127.0.0.1:42739: connect: connection refused

I'm glad to try various approaches, send more configuration/log information, etc. Please advise ways to get past this issue.

Thanks, -z

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant