Re: Outgoing requests to match a specific IP

2006-06-13 Thread Reinhard Moosauer
Hi, the outbound address is determined from the routing on OS level. Fix your routes and the outgoing address is ok also. If this is not possible, you can resort to NAT (network address translation). This solution is used very widely. regards, R. Am Dienstag, 13. Juni 2006 14:56 schrieb Panos

Re: Outgoing requests to match a specific IP

2006-06-13 Thread Panos Konstantinidis
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 deco

Re: Outgoing requests to match a specific IP

2006-06-13 Thread Tim Funk
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

Outgoing requests to match a specific IP

2006-06-13 Thread Panos Konstantinidis
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