# Unable to reach mock server from yesterday. What could be the issue

**URL:** <https://community.postman.com/t/unable-to-reach-mock-server-from-yesterday-what-could-be-the-issue/84135>\
**Category:** Help Hub\
**Tags:** mockservers, mock-server\
**Created:** [August 29, 2025, 5:26am UTC](https://community.postman.com/t/unable-to-reach-mock-server-from-yesterday-what-could-be-the-issue/84135 "2025-08-29T05:26:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![femila123](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@femila123](https://community.postman.com/u/femila123)\
**Post date:** [August 29, 2025, 5:26am UTC](https://community.postman.com/t/unable-to-reach-mock-server-from-yesterday-what-could-be-the-issue/84135/1 "2025-08-29T05:26:49Z")

</div>

> **Archived topic — some details may be out of date.**  
> Mock servers built from saved collection examples are still supported. Postman now also has **code-based mocks** : JavaScript request handlers plus a `config.yaml`, stored as files in your Git repository, which you can run locally or deploy. Create one in the app, or use the Postman CLI to generate one from an OpenAPI spec, collection or dataset (`postman mock generate`) and run it (`postman mock run`). See [About mocks](https://learning.postman.com/docs/design-apis/mock-apis/mocks/overview) and [Create a mock](https://learning.postman.com/docs/design-apis/mock-apis/mocks/create-a-mock).  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) can build and run mocks for you.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

From my local machine i am able to get the results but when tried from any ec2 it doesnt. The server is set to be public.

url : [https://3b5632d2-c55f-49df-9ab5-409d1a88b4cf.mock.pstmn.io](https://3b5632d2-c55f-49df-9ab5-409d1a88b4cf.mock.pstmn.io)

Says,

- Input domain encoded as `UTF-8’
- Could not resolve host: …[mock.pstmn.io](http://mock.pstmn.io); Unknown error
- Closing connection 0  
curl: (6) Could not resolve host: …[mock.pstmn.io](http://mock.pstmn.io); Unknown error

From an online tool :

##### **Could not resolve the host name. Error code: 1006**

Please help. Stuck with this from yesterday.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [August 29, 2025, 8:51am UTC](https://community.postman.com/t/unable-to-reach-mock-server-from-yesterday-what-could-be-the-issue/84135/2 "2025-08-29T08:51:48Z")

</div>

Hey @femila123 👋🏻

Welcome to the Postman community :postman:

Are you seeing this with all Public endpoints from that instance or only Mock Servers?

---

<div class="post-metadata">

**Author:** ![femila123](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@femila123](https://community.postman.com/u/femila123)\
**Post date:** [August 29, 2025, 9:11am UTC](https://community.postman.com/t/unable-to-reach-mock-server-from-yesterday-what-could-be-the-issue/84135/3 "2025-08-29T09:11:36Z")

</div>

only from mock servers. Others are working fine.

---

<div class="post-metadata">

**Author:** ![femila123](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@femila123](https://community.postman.com/u/femila123)\
**Post date:** [August 29, 2025, 9:13am UTC](https://community.postman.com/t/unable-to-reach-mock-server-from-yesterday-what-could-be-the-issue/84135/4 "2025-08-29T09:13:05Z")

</div>

And i have been using this since last november. Once or twice the same issue happened but got resolved automatically. This time it is not working from yesterday and there is no change to the mock server

---

<div class="post-metadata">

**Author:** ![femila123](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@femila123](https://community.postman.com/u/femila123)\
**Post date:** [September 1, 2025, 3:18am UTC](https://community.postman.com/t/unable-to-reach-mock-server-from-yesterday-what-could-be-the-issue/84135/5 "2025-09-01T03:18:30Z")

</div>

@danny-dainton do we have any update on this?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [September 1, 2025, 11:03am UTC](https://community.postman.com/t/unable-to-reach-mock-server-from-yesterday-what-could-be-the-issue/84135/6 "2025-09-01T11:03:05Z")

</div>

I don’t have any further updates here.

I have raised it with the team again and they are looking into this.

There is also another thread open here where the issue was previously raised and a fix was added.

> [@Android devices can not reach mock server since today](https://community.postman.com/t/android-devices-can-not-reach-mock-server-since-today/81280):
>
> Since this morning I can not long reach my mock server, all calls returned unknown host. I tried different Android devices, emulators all are not working, but using postman app directly on my computer works. Seems only Android devices having this issue

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [September 1, 2025, 12:51pm UTC](https://community.postman.com/t/unable-to-reach-mock-server-from-yesterday-what-could-be-the-issue/84135/7 "2025-09-01T12:51:20Z")

</div>

@femila123 Changes have been made on our side, would you be able to retest and let us know if this unblocks you, please?

---

<div class="post-metadata">

**Author:** ![femila123](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@femila123](https://community.postman.com/u/femila123)\
**Post date:** [September 2, 2025, 4:04am UTC](https://community.postman.com/t/unable-to-reach-mock-server-from-yesterday-what-could-be-the-issue/84135/8 "2025-09-02T04:04:30Z")

</div>

No it did not.. for now manually add it to host file and working on.

---

<div class="post-metadata">

**Author:** ![femila123](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@femila123](https://community.postman.com/u/femila123)\
**Post date:** [September 2, 2025, 4:08am UTC](https://community.postman.com/t/unable-to-reach-mock-server-from-yesterday-what-could-be-the-issue/84135/9 "2025-09-02T04:08:55Z")

</div>

Also, i got confirmation from IT and devops team that there has been no change updated recently.
