Port out of range: – 1 for Tomcat startup in idea
The reason for this may be that the port number of your configuration file is – 1
how to solve it
first, let’s find the configuration file in conf under your Tomcat installation path
Mine is here
Open with Notepad
Change the port number to another number at this position. Make it larger. Here I change it to 1001
OK, it’s normal
Read More:
- The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in u
- Idea startup error: Port occupied/address already exists
- 【Bug-python】IndexError: list index out of range
- Port 4200 is already in use.Use ‘-port’ to specify a different port error Reasons
- panic: runtime error: index out of range
- Caused by: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0
- Idea community version starts Tomcat to report error running ‘XXXXXX’: java.lang.NullPointerException
- Tomcat opens the startup.bat The reason for the flash
- Error running ‘Tomcat 8.5.31’: Unable to open debugger port
- String index out of range: 100 error report details and Solutions
- Idea2020.2 encountered pom.xml The problem of file error report in Maven plug-in tomcat7
- Ubuntu 20.04: How to create shortcut startup mode in IntelliJ idea
- When MyEclipse starts tomcat, the console doesn’t jump out
- Interrupted function call accept failed when idea starts Tomcat
- IntelliJ idea community community integrated Tomcat or jetty tutorial
- Idea starts Tomcat console with garbled code but no error
- The Tomcat connector configured to listen on port 7014 failed to start
- Tomcat9 Error: Could not find or load main class org.apache.catalina.startup.Bootstrap
- Solution to communication link failure with error in idea startup project
- View port and resolve port conflict in Windows