How to change the port being used by Mule

Home > Search > How-to
  by

In wrapper.conf

It almost always makes the most sense to update the HTTP / HTTPS port being used by Mule in the wrapper.conf file, instead of in AnyPoint. The -Dmule.mmc.bind.port option is used to set the HTTP port being used by Mule.

wrapper.java.additional.##=-Dmule.mmc.bind.port=8081

 

The -Dsd.port option is using to set the HTTPS port.

wrapper.java.additional.##=-Dsd.port=8444

 


In AnyPoint

The default port used by a Mule HTTP application is 8081. 

  1. In Mule, select the HTTP connector.
  2. Next to Connector Configuration, select the Edit icon.

 

  1. Enter your perferred port. In this example, port 12345 is used.

 

  1. You will now be able to access your application using the new port (12345 in this examples).

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments