Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

276
Vistas
PHP Website on Apache inside of WSL2 (Ubuntu 20.04) being accessed on Local Network

I need to know if there is any special code or general settings changes I need to make to access a PHP / Apache website on WSl2 on another device on same local wifi.

I have a PHP website running locally on Apache throguh WSL2 (Ubuntu 20.04). I can access this website through windows 10 through chrome with the PC running WSl2 with the address http://localhost/test_website/

Is there any specific code changes, I need to make inside of WSl2, PHP or windows? I assumed I would just be able to access this website and test on my phone / another device on the local area network with the IP address of the windows machine ( 10.0.0.107 ) but it does not work.

Not sure if the solution lies in PHP, Apache, WSl2 or a Windows setting to change.

Thank you.

I tried this:

netsh interface portproxy add v4tov4 listenport=80 listenaddress=0.0.0.0 connectport=80 connectaddress=172.29.94.138

And opened and forwarded the port 80 on windows firewall.

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda