Home > Back-end > The eclipse start Tomcat port is invalid
The eclipse start Tomcat port is invalid
Time:09-27
Beginners JSP, as shown in figure, no matter the outside Tomcat service did not start, right click start Tomcat eclipse will press the mouth is invalid or something, start Tomcat outside the browser can be normal access port, baidu and CSDN port being used for the solution of problems are, really can't find this type of solution, troubled day, bosses to reassure
CodePudding user response:
To change the port to the tomcat also not line
CodePudding user response:
Tomcat directory server in the conf folder. In XML & lt; The Connector port="8081" protocol="HTTP/1.1 "ConnectionTimeout="20000" The redirectPort="8443"/& gt; Port="8080" protocol="HTTP/1.1 "ConnectionTimeout="20000" The redirectPort="8443"/& gt; --> This connector USES the JSSE configuration, the when using APR, the The connector should be using the OpenSSL style configuration Described in the APR documentation - & gt; The maxThreads="150" scheme="HTTPS" secure="true" ClientAuth="false" sslProtocol="TLS/& gt;" -->
CodePudding user response: Change the port to try
CodePudding user response:
I have all the number 8 to 9, after start Tomcat mistakes in eclipse is occupied by the port becomes invalid port 8005.8080.8008, after I tried to, through the overview of Tomcat in the Modify the server ports I take 8005 to 9005, after unexpectedly can be launched in eclipse, mentally, but if outside to start the server, the browser or from the port 9090 to access, I pass the test code to the browser in eclipse use port 8080 found or open access, everything, what's inside this coin?