davidfowl / Micronetes

Micronetes is a local orchestrator inspired by kubernetes that makes developing and testing microservices and distributed applications easier.
MIT License
773 stars 46 forks source link

localhost app doesn't resolve running under WSL #52

Closed spboyer closed 4 years ago

spboyer commented 4 years ago

Walk-through example.

Dashboard runs, localhost:5000, 5001 does not load.

m8s run frontend --port 8001
[09:21:12 INF] Executing application from  /home/spboyer/play/microplay/frontend/frontend.csproj
[09:21:12 INF] Dashboard running on http://127.0.0.1:8001
[09:21:12 INF] Building project /home/spboyer/play/microplay/frontend/frontend.csproj
[09:21:14 INF] Launching service frontend_a652bcc0-1: /home/spboyer/play/microplay/frontend/bin/Debug/netcoreapp3.1/frontend 
[09:21:14 INF] frontend_a652bcc0-1 running on process id 5775 bound to https://localhost:5001, http://localhost:5000
[09:21:14 INF] Listening for event pipe events for frontend_a652bcc0-1 on process id 5775

Logs

dotnet build "/home/spboyer/play/microplay/frontend/frontend.csproj" /nologo
Restore completed in 31.41 ms for /home/spboyer/play/microplay/frontend/frontend.csproj.
frontend -> /home/spboyer/play/microplay/frontend/bin/Debug/netcoreapp3.1/frontend.dll
frontend -> /home/spboyer/play/microplay/frontend/bin/Debug/netcoreapp3.1/frontend.Views.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:01.26
[frontend_55058c48-7]:/home/spboyer/play/microplay/frontend/bin/Debug/netcoreapp3.1/frontend
[frontend_55058c48-7]: info: Microsoft.Hosting.Lifetime[0]
[frontend_55058c48-7]: Now listening on: https://localhost:5001
[frontend_55058c48-7]: info: Microsoft.Hosting.Lifetime[0]
[frontend_55058c48-7]: Now listening on: http://localhost:5000
[frontend_55058c48-7]: info: Microsoft.Hosting.Lifetime[0]
[frontend_55058c48-7]: Application started. Press Ctrl+C to shut down.
[frontend_55058c48-7]: info: Microsoft.Hosting.Lifetime[0]
[frontend_55058c48-7]: Hosting environment: Development
[frontend_55058c48-7]: info: Microsoft.Hosting.Lifetime[0]
[frontend_55058c48-7]: Content root path: /home/spboyer/play/microplay/frontend
davidfowl commented 4 years ago

Hmmm

davidfowl commented 4 years ago

All progress will be moving to https://github.com/dotnet/tye