在Mule ESB应用程序中使用本地IP地址 [英] Using Local IP address In a Mule ESB application

查看:175
本文介绍了在Mule ESB应用程序中使用本地IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经部署了一个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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆