# server port=80
Server port=443
# certificate path.
# server.ssl.key-store=classpath:pay.xianzhiedu.com.cn.jks
Server. The SSL. Key - store=classpath: keystore. P12
# certificate password, please amend your certificate password for you.
# server. SSL. Key - store - password=123456
Server. The SSL. Key - store - password=111111
# the secret key library type
# server. SSL. KeyStoreType=JKS
Server. The SSL. KeyStoreType=as PKCS12
# certificate alias
Server. The SSL. KeyAlias=tyzf
# # # # HTTPS end
===================================for the configuration above==================================
Error description is as follows:
17:57:07 2018-12-27. 491. [the main] the DEBUG - O.S.B.D.L oggingFailureAnalysisReporter - Application failed to start due to an exception
Org. Springframework. Boot. Context. Embedded. Tomcat. ConnectorStartFailedException: Connector configured to listen on port 443 failed to start
The at org. Springframework. Boot. Context. Embedded. Tomcat. TomcatEmbeddedServletContainer. CheckThatConnectorsHaveStarted (TomcatEmbeddedServletContainer. Java: 222)
The at org. Springframework. Boot. Context. Embedded. Tomcat. TomcatEmbeddedServletContainer. Start (TomcatEmbeddedServletContainer. Java: 198)
The at org. Springframework. Boot. Context. Embedded. EmbeddedWebApplicationContext. StartEmbeddedServletContainer (EmbeddedWebApplicationContext. Java: 297)
The at org. Springframework. Boot. Context. Embedded. EmbeddedWebApplicationContext. FinishRefresh (EmbeddedWebApplicationContext. Java: 145)
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 546)
The at org. Springframework. Boot. Context. Embedded. EmbeddedWebApplicationContext. Refresh (EmbeddedWebApplicationContext. Java: 122)
The at org. Springframework. Boot. SpringApplication. Refresh (SpringApplication. Java: 693)
The at org. Springframework. Boot. SpringApplication. RefreshContext (SpringApplication. Java: 360)
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 303)
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 1118)
The at org. Springframework. Boot. SpringApplication. Run (SpringApplication. Java: 1107)
The at org. Spring. Springboot. ClientApplication. Main (ClientApplication. Java: 32)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (498) Method. The Java:
The at org. Springframework. Boot. Loader. MainMethodRunner. Run (MainMethodRunner. Java: 48)
The at org. Springframework. Boot. Loader. The Launcher. Launch (87). The Launcher Java:
At org. Springframework. Boot. Loader. The Launcher. The launch (the Launcher. Java: 50)
The at org. Springframework. Boot. Loader. JarLauncher. Main (JarLauncher. Java: 51)
17:57:07 2018-12-27. 491 (main) ERROR - O.S.B.D.L oggingFailureAnalysisReporter -
* * * * * * * * * * * * * * * * * * * * * * * * * * *
The APPLICATION FAILED TO START
* * * * * * * * * * * * * * * * * * * * * * * * * * *
Description:
The Tomcat connector configured to listen on port 443 failed to start. The port may already be in use or The connector may be misconfigured.
Action:
Verify the connector 's configuration, the identify and stop any process that' s listening on port 443, or configure this application to listen on another port.
CodePudding user response:
Just this port being used or occupied all of the port?Feeling is your service is up, you start again, taking up naturally
CodePudding user response:
All the port may not be able to start the same errorCodePudding user response: