the server cannot be started because one or more of the ports are invalid. open the server editor code example
Example: The server cannot started because one or more of the ports are invalid
The issue is that the Tomcat admin port was not defined. You need to have it as an actual number such as 9000 rather than as a hyphen -.