You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by tamri <Ta...@nbg.gov.ge> on 2006/08/21 19:56:17 UTC
Re: two application on different port with restriction
I have no Apache, is there another way to run one applicatio 2 virtual port?
so, I have anothr question: If i have 2 application and I want to run this
eachone different post independently each other,so that , application1 runs
on 8080 port, application2 runs on port 8081, with restriction that
application1 can't run on port 8081, and on the contrary, application2 can't
run on 8080.
how can I do? enyone can help me?
MikoĊaj Rydzewski wrote:
>
> tamri wrote:
>> I have one application and use tomcat 5.0.
>> I want to run this application on different port , on 8080 and 8082
>> independently each other.
>> I configure in tomcat this two connector with ports 8080 and 8082.
>> how can I configure tomcat to run one application on different ports
>> indepedently.
>>
> I'd run one application inside Tomcat, and several virtual hosts inside
> Apache with mod_proxy/mod_jk pointing to one Tomcat instance. One could
> also use ip-forwarding.
>
>
> --
> Mikolaj Rydzewski <mi...@ceti.pl>
>
>
>
--
View this message in context: http://www.nabble.com/one-application-on-different-port-tf2140515.html#a5911636
Sent from the Tomcat - User forum at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: two application on different port with restriction
Posted by Hassan Schroeder <ha...@gmail.com>.
On 8/21/06, tamri <Ta...@nbg.gov.ge> wrote:
> so, I have anothr question: If i have 2 application and I want to run this
> eachone different post independently each other,so that , application1 runs
> on 8080 port, application2 runs on port 8081, with restriction that
> application1 can't run on port 8081, and on the contrary, application2 can't
> run on 8080.
> how can I do? enyone can help me?
Reading the Fine Manual would be a good way to help yourself :-)
quoting:
A Service element represents the combination of one or more
Connector components that share a single Engine component for
processing incoming requests.
Hence you could easily configure two Services, each with a connector
for one of your target ports.
Alternatively, you could use Filters to prevent each app running on an
"unauthorized" port.
FWIW!
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org