How to run MULE on local IP?

202 views Asked by At

I have a MULE application. It consist of a Flow like below:

<flow name="article_list">
    <http:inbound-endpoint address="http://localhost:8000/jcore/article/list" />
    <component class="com.joshlabs.jcore.article.ArticleList" />
</flow>

Now as it can be seen it runs on "localhost".

But everybody is able to access it through my local IP (only if we are on same network). But I don't want that anybody to use these services. How can I prevent this?

1

There are 1 answers

1
David Dossot On BEST ANSWER

Different options:

  • Use a firewall (the easiest),
  • Protect the HTTP endpoint with Mule/Spring security,
  • If your machine has several IPs, bind the endpoint to an IP that isn't reachable from other machines.