DEV Community

loading...

Discussion on: How to access localhost from other devices within the same network?

Collapse
yoursunny profile image
Junxiao Shi

There could be behavioral difference between localhost and HTTP access on an IP address, if you use advanced features such as WebCrypto. Those features are only available when the webpage is loaded from a *secure origin *. localhost is considered secure even if it's unencrypted HTTP, while HTTP access to an IP address is not a secure origin.