# Can´t reach localhost API using VPN

**URL:** <https://community.postman.com/t/can-t-reach-localhost-api-using-vpn/44931>\
**Category:** Help Hub\
**Tags:** tests, authentication\
**Created:** [March 9, 2023, 11:59am UTC](https://community.postman.com/t/can-t-reach-localhost-api-using-vpn/44931 "2023-03-09T11:59:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eliasmerabetponton](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@eliasmerabetponton](https://community.postman.com/u/eliasmerabetponton)\
**Post date:** [March 9, 2023, 11:59am UTC](https://community.postman.com/t/can-t-reach-localhost-api-using-vpn/44931/1 "2023-03-09T11:59:46Z")

</div>

When I try to make a postman call to an API instance running localhost using the VPN, I immediately get a 500 error to the postman. On the other hand, when I don’t use VPN, I manage to connect to the API locally, but it can’t connect to the DB because I’m not using VPN. Please, could you help me?
