Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localhost:5000 does not contain anything on macOS with Docker Desktop #47

Open
suchja opened this issue Mar 21, 2024 · 2 comments
Open

Comments

@suchja
Copy link
Contributor

suchja commented Mar 21, 2024

I'm using this dev container exactly like described in readme. However, when VSCode opens Safari with localhost:5000/ nothing is displayed. The same holds true for the internal browser of VSCode as well as Chrome. After trying around, I figured out that 127.0.0.1:5000 does show the website without any problems (on all browsers).

When I change the port to 8080 everything works fine. I made the required changes in my fork: https://github.com/suchja/vscode-remote-try-dotnet With those it works fine for me now.

It is very inconvenient to always change the address from localhost to 127.0.0.1 in the browser. So is there any solution to this problem? Obviously it is possible to use port 8080 instead, but I guess there was some reason why it was not chosen in the first place.

Any help would be greatly appreciated!!!

PS:
I'm using Docker Desktop 4.28.0 on Intel Mac with macOS Sonoma 14.4

@Jnmkl
Copy link

Jnmkl commented Jun 2, 2024

I'm using this dev container exactly like described in readme. However, when VSCode opens Safari with localhost:5000/ nothing is displayed. The same holds true for the internal browser of VSCode as well as Chrome. After trying around, I figured out that 127.0.0.1:5000 does show the website without any problems (on all browsers).

When I change the port to 8080 everything works fine. I made the required changes in my fork: https://github.com/suchja/vscode-remote-try-dotnet With those it works fine for me now.

It is very inconvenient to always change the address from localhost to 127.0.0.1 in the browser. So is there any solution to this problem? Obviously it is possible to use port 8080 instead, but I guess there was some reason why it was not chosen in the first place.

Any help would be greatly appreciated!!!

PS: I'm using Docker Desktop 4.28.0 on Intel Mac with macOS Sonoma 14.4

@Noor750
Copy link

Noor750 commented Aug 1, 2024

Open to my account connection

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

No branches or pull requests

3 participants