File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Server port number Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Server port number" Watch "Server port number" New topic
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: 516
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Server port number