在Mule ESB应用程序中使用本地IP地址 [英] Using Local IP address In a Mule ESB application
问题描述
我已经部署了一个Mule ESB应用程序,该应用程序接受如下的GET HTTP请求作为输入
I've deployed a Mule ESB application which accept as input a GET HTTP request as follow
http://localhost:8088/esb/?id=xxx
当用我的本地IP地址192.168.1.2
替换localhost
时,它既不能在我的机器上使用,也不能在我的局域网中的另一个机器上使用.
我在防火墙中添加了一个规则,以允许端口8088也不起作用.
我已禁用防病毒软件和防火墙,但没有结果.
有人可以帮忙吗?
when replace the localhost
with my local IP adress 192.168.1.2
it doesnt work neither on my machin nor on another one from my lan.
I've added a rule in the firewall to allow the port 8088 and it doesn't work either.
I've disabled my antivirus and the firewall and no result.
could someone help?
推荐答案
使用此终结点配置绝对没有问题:
I have absolutely no problem using this endpoint configuration:
<http:inbound-endpoint
address="http://192.168.1.68:8088/esb"
exchange-pattern="request-response" />
M子(3.4.0)正确绑定到我的IP地址和8088
端口.
Mule (3.4.0) correctly binds to my IP address and the 8088
port.
因此,请使用显示您如何配置入站HTTP端点的配置更新您的问题.
So please update your question with the config that shows how you've configured your inbound HTTP endpoint.
这篇关于在Mule ESB应用程序中使用本地IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!