A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Products
»
Tomcat
Author
Tomcat5.5
p hasini
Ranch Hand
Joined: Oct 24, 2009
Posts: 92
posted
Nov 26, 2009 01:32:43
0
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
Marshal
Joined: Mar 22, 2005
Posts: 35443
9
posted
Nov 26, 2009 04:16:18
0
Check the conf/server.xml file; that's where the port is specified.
Android apps
–
ImageJ plugins
–
Java web charts
Parth Krishnan
Greenhorn
Joined: Apr 19, 2009
Posts: 6
I like...
posted
Nov 26, 2009 06:02:05
0
Are you using any IDE such as MyEclipse?
cheers,
Parth -
parthme@live.com
Parth Krishnan
Greenhorn
Joined: Apr 19, 2009
Posts: 6
I like...
posted
Nov 26, 2009 06:05:02
0
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.....
p hasini
Ranch Hand
Joined: Oct 24, 2009
Posts: 92
posted
Nov 27, 2009 09:49:37
0
ya . Thank you
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Tomcat5.5
Similar Threads
How to change default port of Apache Tomcat?
my first jsp can not display(http status 500)
Problems with port 8080
Server port number
java.net.BindException: Address already in use: JVM_Bind:8080
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter