< connector port = "8080" redirect port = "8443" connectiontimeout = "20000" protocol = "http/1.1"/> this line. Here, the port is 8080.
2. Use the netstat command to check the occupancy.
Netstat -ap |grep 8080 // Find out whether the tomcat port is occupied.
3. Others
Netstat -tln // means to digitally view the port you are listening on.
Netstat -ap // View the ports occupied by all applications.