Changing the Hostname¶ By default, WSO2 products identify the hostname of the current machine through the Java API. However, it is recommended to configure the hostname by setting the hostname parameter in the deployment.toml file of the WSO2 Integrator: MI runtime. Changing the WSO2 Integrator: MI hostname¶ Follow the steps given below. Open the <MI-HOME>/conf/deployment.toml file Define the hostname attribute under server configuration as shown below. FormatExample [server] hostname = "{hostname}" [server] hostname="localhost" To configure hostnames for WSDLs and endpoints, it is recommended to add the following parameter for the transport listener in the deployment.toml file. [transport.http] listener.wsdl_epr_prefix="$ref{server.hostname}"