Listening hostname/adapter

By default, Mockoon's mock APIs will listen to all available network adapters on IPv4 and IPv6, often described as and ::. Your mock server will be available on all your adapters, such as localhost,, your local IPv4 address(es) 192.168.x.x, ::1, etc.

To configure each environment to listen on a specific hostname, open the Environment Settings by clicking on the tab at the top of the window:

click on the settings tab

Add a custom hostname in the input field:

field to set a custom hostname