Re: How to start tomcat on a port other than 8080

Venkatesh Babu <[email protected]>
Newsgroups gmane.comp.jakarta.cactus.user
Message-ID <[email protected]>
Hello Kamal,

Thanks for your reply ... I changed the port to 8081 in my test/res/server.xml as that is the file getting used for running cactus test ... But even after that, I'm getting the same error - cactus test failed to connect to port 8081 ... I have another instance of tomcat running on port 8080 - will this be a problem? This one is using %CATALINA_HOME%\conf\server.xml, so I've left the port number uncahnged there i.e. port number there still remains at 8080 ...

Thank you,
Venkatesh


----- Original Message ----
From: Kamal Chandana Mettananda <[email protected]>
To: Cactus Users List <[email protected]>
Sent: Thursday, May 3, 2007 6:00:42 PM
Subject: Re: How to start tomcat on a port other than 8080

Hi,

For changing the tomcat 8080 port:

Goto %TOMCAT_HOME%\conf/server.xml

Change the connector port to 8081(search for 8080) in this file.

<Connector
> port="8080"               maxHttpHeaderSize="8192"
>                maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>                enableLookups="false" redirectPort="8443" acceptCount="100"
>                connectionTimeout="20000" disableUploadTimeout="true" />
>

BR,
Kamal

-- 
Kamal Mettananda
Visit me at: http://lkamal.blogspot.com







__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.