Solution for Can’t open port 8443 in Windows 10
is Given Below:
I am trying to verify if the client certificate (self-signed) which I generated with
openssl is valid. I have created client certificate, client private key, client keystore, and server certificate, server private key, server keystore and server truststore.
I am trying to use the generated server key and certificate in Tomcat by putting the following in server.xml:
<Connector port="8443" maxThreads="150" scheme="https" secure="true" SSLEnabled="true" truststoreFile="C:New keysServertruststore.jks" truststorePass="......" keystoreFile="C:New keysServerkeystore_server" keystorePass="......." clientAuth="true" keyAlias="......." sslProtocol="TLS"/>
I have also added client certificate in Google Chrome.
But when I try to visit
http://localhost:8443/ I get the error
localhost refused to connect.
I added an inbound rule windows firewall to allow port 8443, yet, after doing this, when I test whether the port is open or closed with online tools, it shows that port 8443 is closed.
How do I open this port? Or is there anything else I can do to solve this?