• Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpProxy working but wrong outbound IP  RSS feed

Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the HttpProxy servlet that comes with Resin. It is working except for one unexpected issue. It is running on a multihomed system. It is listening on the proper IP ort but when it forwards the requests it is using the default IP of the system instead of the IP it is confingured to listen on.

The documentation is nearly non-existent on this class. I have the values shown below my configuration. Maybe there is an additional parameter that will address the issue but I cannot find it. It is listening on but when it forwards to the target that host sees the request coming from the default IP of the system and not as one would expect.

<http server-id="" host="" port="8090" virtual-host="locator" />

<host id='locator'>

<init host='www.forwardto.com'/>
<servlet-mapping servlet-name="http-proxy" url-pattern="/*" />
Lasagna is spaghetti flvored cake. Just like this tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!