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

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 and Create a mock.
Working with an AI coding agent? The Postman plugin can build and run mocks for you.
For current help, see the Postman docs, try the free Postman tools (no account needed), or join us on Discord.

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

Says,

  • Input domain encoded as `UTF-8’
  • Could not resolve host: …mock.pstmn.io; Unknown error
  • Closing connection 0
    curl: (6) Could not resolve host: …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.

Hey @femila123 :waving_hand:t2:

Welcome to the Postman community :postman:

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

only from mock servers. Others are working fine.

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

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

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.

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

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

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