编程

当前位置:澳门新莆京娱乐官网 > 编程 > springboot配置https启动总是出现端口占用

springboot配置https启动总是出现端口占用

来源:http://www.drgigabytes.com 作者:澳门新莆京娱乐官网 时间:2019-12-28 22:22

##避免和server工程端口冲突#server.port=80server.port=443#证书的路径.#server.ssl.key-store=classpath:pay.xianzhiedu.com.cn.jksserver.ssl.key-store=classpath:keystore.p12#证书密码,请修改为您自己证书的密码.#server.ssl.key-store-password=123456server.ssl.key-store-password=111111#秘钥库类型#server.ssl.keyStoreType=JKSserver.ssl.keyStoreType=PKCS12#证书别名server.ssl.keyAlias=tyzf####结束===================================上面为配置==================================错误描述如下:2018-12-2717:57:07.491[main]DEBUG-o.s.b.d.LoggingFailureAnalysisReporter-Applicationfailedtostartduetoanexceptionorg.springframework.boot.context.embedded.tomcat.ConnectorStartFailedException:Connectorconfiguredtolistenonport443failedtostartatorg.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.checkThatConnectorsHaveStarted(TomcatEmbeddedServletContainer.java:222)atorg.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:198)atorg.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:297)atorg.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:145)atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)atorg.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)atorg.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)atorg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)atorg.springframework.boot.SpringApplication.run(SpringApplication.java:303)atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1118)atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1107)atorg.spring.springboot.ClientApplication.main(ClientApplication.java:32)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atorg.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)atorg.springframework.boot.loader.Launcher.launch(Launcher.java:87)atorg.springframework.boot.loader.Launcher.launch(Launcher.java:50)atorg.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)2018-12-2717:57:07.491[main]ERROR-o.s.b.d.LoggingFailureAnalysisReporter-***************************APPLICATIONFAILEDTOSTART***************************Description:TheTomcatconnectorconfiguredtolistenonport443failedtostart.Theportmayalreadybeinuseortheconnectormaybemisconfigured.Action:Verifytheconnector'sconfiguration,identifyandstopanyprocessthat'slisteningonport443,orconfigurethisapplicationtolistenonanotherport.

本文由澳门新莆京娱乐官网发布于编程,转载请注明出处:springboot配置https启动总是出现端口占用

关键词:

上一篇:怎么根据条件接受

下一篇:没有了