Host an angular project on localhost and allow access from a different network?

Discussão em 'Angular' iniciado por qwerty_99, Março 15, 2025.

  1. qwerty_99

    qwerty_99 Guest

    This might be a dumb question, I know nothing about cybersecurity and I'm rather new to web development, but is it possible to host a angular project on localhost and allow anyone with my public ip address to access it?

    I tried ng serve --disable-host-check and ng serve --public-host 0.0.0.0 they both seem to only allow access from a local network. Is there a way to do this so that my collegue can access the website by using mypublicipaddress:4200?

    Continue reading...

Compartilhe esta Página