We want to hide the port number in firefox address bar, we can't change to port 443 since we don't have root user. Is that possible?
For firefox browser, is there an 'alternative default https port' that is above 1024 and firefox will attempt when the url starts with https?
We can use any available port for HTTPS, however, for the sake of convention, 443 and 8443 are assigned for HTTPS (browsers automatically prefix with https when these port numbers are used), but we can even run HTTPS on port 80.
Short answer: yes, you can! Long answer comes here: Can I use another port other than 443 for SSL communication? SSL is in no way tied to a single port value; in fact, as a protocol, it can be used over any transport medium, as long as that medium provides a bidirectional stream for arbitrary bytes.
Port 8443 in Apache Tomcat is used for running your service at HTTPS, it requires parameters to be specified as mentioned below. The above code enables SSL on port 8443, the default port for HTTPS is 443, so to avoid conflicts it uses 8443 instead of 443 just like 8080 for HTTP instead of 80.
Today, we'll answer one of the most common questions we get: “What port does SSL use?” Or, to put it other way that people ask: what are some of the most common SSL certificate port numbers that are used?” And the answer is none. SSL/TLS does not itself use any port — HTTPS uses port 443.
As the comments mention, no you can't. However, you can use any port you want, as long clients explicitly mention it. Anything 1024 or higher is a non-standard port and can be used.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With