Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Tomcat
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Tomcat
Tomcat5.5
p hasini
Ranch Hand
Posts: 92
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How to change the port no. in
Tomcat
5.5
I already have one server on port 8080.
Tomcat by default listens on port 8080. I want to change it
Ulf Dittmer
Rancher
Posts: 43081
77
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Check the conf/server.xml file; that's where the port is specified.
Parth Krishnan
Greenhorn
Posts: 6
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Are you using any IDE such as MyEclipse?
cheers,
Parth -
[email protected]
Parth Krishnan
Greenhorn
Posts: 6
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
1. Open the folder tomcat\conf on your computer
2. Now with a text editor you have to open and modify server.xml. Here you have to identify the following line (line 184) and you modify it so that changes from:
<Http10Connector port="8080"
secure="false"
maxThreads="100"
maxSpareThreads="50"
minSpareThreads="10" />
to:
<Http10Connector port="9090"
secure="false"
maxThreads="100"
maxSpareThreads="50"
minSpareThreads="10" />
3. Startup the web server and access it now using:http://localhost:9090/.......
It may be useful to you...
cool.....
cheers,
Parth -
[email protected]
p hasini
Ranch Hand
Posts: 92
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
ya . Thank you
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Server port number
my first jsp can not display(http status 500)
How to change default port of Apache Tomcat?
java.net.BindException: Address already in use: JVM_Bind:8080
Problems with port 8080
More...