SShortSingh.
Back to feed

WSL2 web apps can't be accessed from mobile or LAN due to Hyper-V firewall

0
·1 views

Web development servers running in WSL2 are typically unreachable from other devices on the same local network. This occurs because WSL2 runs inside a Hyper-V virtual machine, and the standard Windows Firewall cannot control traffic into this isolated virtual network. The required solution is to create specific Hyper-V firewall rules using PowerShell commands, which are separate from the standard firewall interface. An open-source utility script has been released to automate the process of finding the correct container ID and creating these persistent rules. Developers must also configure their local servers to listen on all network interfaces, not just localhost, for the connection to work.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Report advises against bulk loading large AI agent skill libraries in IDEs

A developer article advises against directly integrating the entire alirezarezvani/claude-skills repository into Cursor, an AI-powered IDE. The repository contains over 380 skills for tasks like debugging and code review. Loading many skills simultaneously can consume tens of thousands of tokens, degrading model performance and causing retrieval issues. The recommended approach is to selectively extract only relevant skills into Cursor's modular rules directory. Using prompt caching can further reduce the computational overhead of working with these skills.

0
ProgrammingDEV Community ·

Overuse of AI Tools May Erode Core Developer Skills, Experts Warn

Software developers are increasingly using AI tools like LLMs to write and debug code, which accelerates workflows. However, experts warn this reliance risks causing skill atrophy, especially for juniors still building foundational knowledge. The concern is that developers become consumers of AI-generated code, bypassing the cognitive effort needed to understand underlying logic. This can weaken problem-solving abilities and reduce critical evaluation of AI outputs.

0
ProgrammingDEV Community ·

Developer introduces self and open-source task app Karui on DEV platform

A developer published an introductory post on DEV Community, introducing themselves and their work. They are the creator of Karui, an open-source Android task management application designed with a retro Linux aesthetic and a focus on privacy. The developer's broader interests include creating computational models of historical processes and improving the usability of government web services. They also detailed their programming journey, which began with interactive fiction and educational games.

WSL2 web apps can't be accessed from mobile or LAN due to Hyper-V firewall · ShortSingh