简体   繁体   中英

How to access localhost with VPN turned on

I work on a mac OS with VPN enabled. It blocks access to localhost. So when I run a live server or a React application, I get an error ERR_CONNECTION_TIMED_OUT Please avoid the advice like disabling the VPN. I'm asking for an explanation if somehow on mac os and using NordVPN I can add localhost to exceptions and allow access. Thank you very much for the answers.

Running live server or React app gives error in browser ERR_CONNECTION_TIMED_OUT

In my understanding. Localhost refer to YOUR computer and having an active VPN does not change that.

Maybe your react app try to access ressources that aren't local

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM