Srikanth Hugar
Srikanth Hugar

Reputation: 385

accessing port 8443 with http in tomcat

I have a Tomcat 6.x or 7.x web application server running on a webserver listening on port 8443.

Why is it that when I access http://:8443, I am prompted to download a file of the format application/octet-stream from any browser from any platform?

When I access http://:443 I get a 400 Bad Request.

Is there anyway to configure Tomcat to yield a 400 Bad Request error code if a user attempts to access the SSL port via http ?

Upvotes: 0

Views: 2662

Answers (1)

zavr
zavr

Reputation: 2149

It's because you need to type https:// beforehand :D I just had the same problem! I think some forwarding is needed to ensure https is used.

Upvotes: 3

Related Questions