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?

CodePudding user response:

reference 4 floor qq_45159663 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?


This may be the last time you started, no normally closed or exit, causing the javaw. Exe also in this process, can go to task manager try to find the process closed to restart it and see.

CodePudding user response:

You can by netstat - ano in CMD command view port usage,

CodePudding user response:

It is ok to change the port should be. There are three ports, check with repeated

CodePudding user response:

I also met this problem, will the tomcat installation directory Tomcat8.5 w.e xe in the switch is closed, with eclipse start wouldn't be submitted to the inside

CodePudding user response:

Should be take up at the port is port usage

CodePudding user response:

You can manually locked tomcat once a try, there are some things close project tomcat will not close,

CodePudding user response:

With q, I now also encounter this problem, try your method, or not, to solve

CodePudding user response:

If there are any other programs has occupied the port

CodePudding user response:

reference 16 floor m0_47409970 response:
with asked, I now also encounter this problem, try your method, still won't do, solving


Netstat command line input - ano, if the port is already change again, could you change the port or occupied, change the port, not commonly used

CodePudding user response:

Should be your tomcat exit card the process can be forced to close or restart the computer directly to the Lord
  • Related