1. 程式人生 > >Unable to open debugger port (127.0.0.1:5471): java.net.SocketException "socket closed"

Unable to open debugger port (127.0.0.1:5471): java.net.SocketException "socket closed"

如果tomcat的server.xml這段程式碼被註釋了,就會報錯:所以開啟註釋或者直接複製一份就可以了

<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="150" SSLEnabled="true">
        <SSLHostConfig>
            <Certificate certificateKeystoreFile="conf/localhost-rsa.jks"
                         type="RSA" />
        </SSLHostConfig>
</Connector>