# Requests to local URL either timing out or getting DNS Lkup error

**URL:** <https://community.postman.com/t/requests-to-local-url-either-timing-out-or-getting-dns-lkup-error/69154>\
**Category:** Help Hub\
**Tags:** authentication\
**Created:** [October 1, 2024, 5:59pm UTC](https://community.postman.com/t/requests-to-local-url-either-timing-out-or-getting-dns-lkup-error/69154 "2024-10-01T17:59:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielxi](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@danielxi](https://community.postman.com/u/danielxi)\
**Post date:** [October 1, 2024, 5:59pm UTC](https://community.postman.com/t/requests-to-local-url-either-timing-out-or-getting-dns-lkup-error/69154/1 "2024-10-01T17:59:58Z")

</div>

Hi all,

I have microservices running locally on my laptop in Windows Docker containers, and I have Docker Desktop installed.

Here is the environment information:

> ## Postman for Windows
> 
> Version11.14.1
> 
> UI version  
> 11.14.1-ui-240925-1856
> 
> Desktop platform version  
> 11.14.0
> 
> Architecture  
> x64
> 
> OS platform  
> win32 10.0.22631

I am unable to get a response from a GET request to local URL:

1. When using the Web version of Postman, I get the following error:

> Error: DNSLookup: ENOTFOUND pf4xs2bc
> 
> ▶Request Headers
> 
> Content-Type: application/x-www-form-urlencoded
> 
> Authorization: Basic UG9zdG1hbjpTZWNyZXQ=
> 
> User-Agent: PostmanRuntime/7.42.0
> 
> Accept: _/_
> 
> Cache-Control: no-cache
> 
> Postman-Token: c05fc44c-4732-42ea-b6df-05b67bfdd865
> 
> Host: pf4xs2bc
> 
> Accept-Encoding: gzip, deflate, br
> 
> Connection: keep-alive

1. When using Postman API, I get the following error:

> Error: connect ETIMEDOUT 10.0.0.229:80
> 
> ▶Request Headers
> 
> Content-Type: application/x-www-form-urlencoded
> 
> Authorization: Basic UG9zdE1hbjpTZWNyZXQ=
> 
> User-Agent: PostmanRuntime/7.42.0
> 
> Accept: _/_
> 
> Cache-Control: no-cache
> 
> Postman-Token: 44f6853e-7dfa-459c-b310-4a428afbcb4a
> 
> Host: pf4xs2bc
> 
> Accept-Encoding: gzip, deflate, br
> 
> Connection: keep-alive

I appreciate any help.

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [October 2, 2024, 9:17am UTC](https://community.postman.com/t/requests-to-local-url-either-timing-out-or-getting-dns-lkup-error/69154/2 "2024-10-02T09:17:34Z")

</div>

You will need to install the [Postman Desktop Agent](https://www.postman.com/downloads/postman-agent/) if you are using the web client and you want to access local resources. The requests are generally sent from the Postman cloud which will not have access to your local resources (10.x.x.x are local addresses).

Therefore the DNSLookup error is correct in that instance. The web client will not be able to resolve that local IP address without the postman agent.

The ETIMEDOUT error is different and could be caused by various issues. It means that its connected to the IP address, but is not getting a response in a timely manner. The first step is usually to check your local firewall settings even if you are running the desktop client on the same machine as your docker container. Whenever Postman gets updated, I normally get a windows prompt to allow access through the local firewall. Did you see such a prompt? You also need to check that your application is running. Perhaps by running an independent check with cURL to check connectivity.

---

<div class="post-metadata">

**Author:** ![danielxi](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@danielxi](https://community.postman.com/u/danielxi)\
**Post date:** [October 2, 2024, 2:59pm UTC](https://community.postman.com/t/requests-to-local-url-either-timing-out-or-getting-dns-lkup-error/69154/3 "2024-10-02T14:59:04Z")

</div>

Hi Mike,

Thanks for the reply.

I did see the windows prompt today, when opening the Postman app on my laptop, and checked the box to allow private networks to access the application.

I finally got the request to work and return an expected response, I had to tweak a connection string setting in a database table that the microservice, that handles authentication, calls to get a security token.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [October 15, 2024, 5:24pm UTC](https://community.postman.com/t/requests-to-local-url-either-timing-out-or-getting-dns-lkup-error/69154/4 "2024-10-15T17:24:36Z")

</div>

Closed on October 15, 2024, 5:24pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
