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

Devcontainer port error #10192

Closed
AlbertoVf opened this issue Aug 27, 2024 · 3 comments
Closed

Devcontainer port error #10192

AlbertoVf opened this issue Aug 27, 2024 · 3 comments
Assignees
Labels
containers Issue in vscode-remote containers info-needed Issue requires more information from poster

Comments

@AlbertoVf
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.9.2
  • OS Version: 6.10.6-arch1-1

Steps to Reproduce:

  1. Open Laravel project in devcontainer(php + node)
  2. Run vite with npm run dev
  3. Run laravel with php artisan serve

Error:

  • Whith app running on devcontainer the browser don't load vite, but in normal running the browser load the page.
Copy link

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.92.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

@chrmarti
Copy link
Contributor

Try configuring vite to bind to 127.0.0.1 instead of localhost. vitejs/vite#16522 (comment)

@chrmarti chrmarti transferred this issue from microsoft/vscode Aug 28, 2024
@chrmarti chrmarti added containers Issue in vscode-remote containers info-needed Issue requires more information from poster labels Aug 28, 2024
Copy link

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Oct 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
containers Issue in vscode-remote containers info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants