Hello Tim, thank you for your prompt reply. 

Your solution would work, however we are using a third party API that does this
call to the specific server (actually what it is doing is to issue an HTTP
request to another Servlet), and I do not have access to the source code, nor I
would like to decompile the API and modify the source code.

Any other alternatives?

Regards

Panos

--- Tim Funk <[EMAIL PROTECTED]> wrote:

> Its not a tomcat setting, it java socket programming.
> 
>
http://java.sun.com/j2se/1.4.2/docs/api/java/net/Socket.html#Socket(java.net.InetAddress,%20int,%20java.net.InetAddress,%20int)
> 
> Whatever library is making the outbound call should have an option to choose 
> the local ip address the connection is bound to. If it doesn't, then you are
> SOL.
> 
> -Tim
> 
> Panos Konstantinidis wrote:
> > Hello, we have a computer that is registered to two IP addresses. I have
> > installed Tomcat on this computer and I have deployed a web application.
> This
> > web application does some XML processing and then sends a request to
> another
> > server. This other server is configured to only accept requests from a
> specific
> > IP address. Unfortunatelly this IP address is not the one Tocmat is bind to
> > when an outgoing request leaves. My question is how I can make Tomcat to
> tie a
> > specific request to otehr IP address, the one that is allowed to connect to
> the
> > second server. All information I have found so far is only for incoming
> > requests (listening) not for outgoing.
> > 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to