Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 如果我使用';https';在春季,如何避免错误102(net::ERR\u连接被拒绝)?_Java_Spring_Spring Mvc_Https - Fatal编程技术网

Java 如果我使用';https';在春季,如何避免错误102(net::ERR\u连接被拒绝)?

Java 如果我使用';https';在春季,如何避免错误102(net::ERR\u连接被拒绝)?,java,spring,spring-mvc,https,Java,Spring,Spring Mvc,Https,我的Spring MVC 3.0应用程序的主页是: http://localhost:8080/ 如果我让登录页面使用HTTPS: https://localhost:8443/login 当我尝试导航到登录页面时,出现以下错误: Error 102 (net::ERR_CONNECTION_REFUSED): Unknown error. 配置我的Spring应用程序的正确方法是什么?您确定服务器正在侦听端口8443吗?您可以按照命令检查此命令 netstat 什么会产生活动连接列表

我的Spring MVC 3.0应用程序的主页是:

http://localhost:8080/
如果我让登录页面使用HTTPS:

https://localhost:8443/login
当我尝试导航到登录页面时,出现以下错误:

Error 102 (net::ERR_CONNECTION_REFUSED): Unknown error.

配置我的Spring应用程序的正确方法是什么?

您确定服务器正在侦听端口8443吗?您可以按照命令检查此命令

netstat
什么会产生活动连接列表

Proto Local adres Externnal adres Status  
TCP PC04566:1040本地主机:1041已建立