Can mock server be accessible from outside?

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.

I want to mock my APIs and access those APIs from another computer.
But the mock server URL is in https://06ac3f1d-13f1-4bf7-b5fd-713dcb5bb0d8.mock.pstmn.io/PATH
form. I cannot figure out how to access it by http://ip:port/PATH form.
Is it possible to do that in Postman?

1 Like