Translate

Friday 10 November 2023

Default ports of http & https in Mule Soft

 

Default ports of http & https in Mule Soft?

The default ports of HTTP and HTTPS in MuleSoft are:

·         HTTP: 8081

·         HTTPS: 8082

These ports are used by the MuleSoft Anypoint Platform to listen for and accept incoming HTTP and HTTPS requests.

https://youtu.be/D_3xJ6v8Owo

You can change the default ports in the MuleSoft Anypoint Platform configuration file. However, it is recommended that you only change the default ports if you have a specific reason to do so.                                                                        

The following example shows how to change the default HTTP and HTTPS ports in the MuleSoft Anypoint Platform configuration file:

XML

<mule xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:https="http://www.mulesoft.org/schema/mule/https">
 
<http:listener-config port="8080" />
 
<https:listener-config port="8443" />
</mule>

 configuration will change the HTTP port to 8080 and the HTTPS port to 8443.

 

Conclusion

The default ports of HTTP and HTTPS in MuleSoft are 8081 and 8082, respectively. You can change the default ports in the MuleSoft Anypoint Platform configuration file, but it is recommended that you only do so if you have a specific reason to do so.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.