By default, Mockoon's new environments will listen on port 3000
and will have no API prefix. If you have multiple environments already opened, Mockoon will automatically increment the port number for each new environment.
You can change the port number and the API prefix in the Environment Settings by clicking on the tab at the top of the window:
Then, change the port number and/or the API prefix in the corresponding input fields:
💡 The API prefix can contain multiple sections (e.g. /api/v1/
) and will be applied to all your routes.