Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

Why does Tomcat use 8443 for https?

Thread view: 
Pep - 13 Jan 2006 15:23 GMT
I have followed the instruction in the Tomcat manual for enabling https but
keep getting a "connection refused" error message when I try to run a jsp
page in https mode although it works fine for http mode.

I am running Tomcat5.0

There are no errors in the catalina log file.

Yet I can telnet to port 8443 which I believe is the port used by Tomcat for
https connections.

When I changed the config to use port 443 for https the connections work
fine?

TIA,
Pep.
Dag Sunde - 14 Jan 2006 09:56 GMT
>I have followed the instruction in the Tomcat manual for enabling https but
> keep getting a "connection refused" error message when I try to run a jsp
[quoted text clipped - 9 lines]
> When I changed the config to use port 443 for https the connections work
> fine?

What did the URL you typed into your browser look like?

If you just type https://somesite/..., most browsers sends automatically
to port 443. If your server is running ssl on a different (non-default)
port, you'll have to specify it in the url: https://somesite:8443/...

Could this be the problem?

Signature

Dag.

josh.s17@gmail.com - 14 Jan 2006 22:01 GMT
If your question is "Why does Tomcat use port 8443 instead of 443 by
default for SSL" then the answer is probably

1. On unix  a normal user cannot use ports less than 1024 (or something
like that) only the super user can. Therefore many users would have
trouble running tomcat after a default install  when they don't have
super user access.
2). Often apache will run on 80 and 443 and then redirect appropriate
requests to the application server such as Tomcat.

It is just a default and you are free to change it!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.