| Author |
Server port number
|
Dheeraj dubey
Greenhorn
Joined: Sep 28, 2007
Posts: 8
|
|
well normally when i install oracle server before tomcat the tomcat refuse my request at 8080 port because oracle already use that 8080 port. or vice versa is that any method so that i can change the default port number of tomcat.
|
 |
Dheeraj dubey
Greenhorn
Joined: Sep 28, 2007
Posts: 8
|
|
|
sorry i forgot to say THANKS IN ADVANCED.
|
 |
amit punekar
Ranch Hand
Joined: May 14, 2004
Posts: 488
|
|
Hi, There is a configuration file named server.xml in "conf" directory. Please check this file to change the default port number. thanks, amit
|
Regards,
Amit
|
 |
Dheeraj dubey
Greenhorn
Joined: Sep 28, 2007
Posts: 8
|
|
Originally posted by amit punekar: Hi, There is a configuration file named server.xml in "conf" directory. Please check this file to change the default port number. thanks, amit
yaa i got port configuration in this file
<Connector port="8080" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" disableUploadTimeout="true" />
so if i change that mapping the port number will be changed??? thnx regards Dheeraj [ October 02, 2007: Message edited by: Dheeraj dubey ]
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
|
Yes, you'll need to restart Tomcat for it to take effect though.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: Server port number
|
|
|