The application itself is generating the message being sent out.  In the 
basic sense, a browser is not involved.  For example, information is 
received on port 443, and processed by the application.  From that, a 
java.net.URL object is created, and the message is fired off to the 
specified client URL.  When firing off the message, the outbound port 
(1024-5000) is chosen, and I'm not sure what chooses the port, and if I can 
restrict it.


>From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: Specify outbound port on tomcat
>Date: Fri, 7 Sep 2001 16:05:40 -0700 (PDT)
>
>
>
>On Fri, 7 Sep 2001, Joe Pearse wrote:
>
> > Date: Fri, 07 Sep 2001 15:53:33 -0700
> > From: Joe Pearse <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Subject: Specify outbound port on tomcat
> >
> > Hi List-
> >   I'd like to specify what outbound ports are chosen when running my
> > application.  Currently, I can specify the inbound port for SSL (443) to
> > receive a message.  When my application responds, it 
>(seemingly)arbitrarily
> > picks a port between 1024 and (about) 5000 to send out the reply.
> >   My client refuses to open up their firewall between 1024 and 5000, 
>even
> > though it is for the outbound traffic only, I must specify (restrict) 
>the
> > ports used for outbound traffic.  Is anyone aware if this is something 
>that
> > I could configure in Tomcat (or Apache), and if so, what is it?  (If 
>that is
> > not possible to configure, please let me know also.)  Thanks for the 
>help.
> >
>
>Tomcat (or Apache, or any other TCP based server) sends responses back on
>the same port that it received your request on (in fact, on the exact same
>connection).  Is your application itself generating outbound TCP
>connections (for example, to connect to a database)?  Or is the arbitrary
>port possibly the one created by your *browser* running on the same
>machine and connecting to Tomcat?
>
>Craig McClanahan
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Reply via email to