PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, May 19, 2022

[FIXED] How to run MULE on local IP?

 May 19, 2022     mule, mule-flow, web-services     No comments   

Issue

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?


Solution

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.


Answered By - David Dossot
Answer Checked By - Candace Johnson (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

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

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing