D.1) How do I change the Tomcat listen port? [_]
The default port "8080" can be changed in the Tomcat 'server.xml' configuration file at "$CATALINA_HOME/conf/server.xml". Note that on Linux, binding to to a port less than (or equal-to) 1024 requires that Tomcat be run as 'root',which is not recommended. If you wish to access the web-interface on port 80, an alternative method would be to use 'iptables' to forward requrest on port 80 to port 8080. This can be accomplished with the following example 'iptables' entries:
/sbin/iptables -t nat -I PREROUTING -p tcp --dport 443 -j REDIRECT --to-ports 8443
/sbin/iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080
Estoy intentando cambiar en ese archivo el 8080 por otro, exactamente en esta parte:
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />...pero me niega el acceso al querer guardarlo.Nuevamente gracias.