Ramandeep Singh
Ramandeep Singh

Reputation: 5253

How to run MULE on local IP?

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?

Upvotes: 0

Views: 210

Answers (1)

David Dossot
David Dossot

Reputation: 33413

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.

Upvotes: 2

Related Questions