i'm not able to change my default port number to something 8090 or other ,even if i change in the /etc/tomcat6/server.xml ,it's not changing ,it still follows the same old 8080 , what's wrong ,what should be done ??
posted 5 years ago
Can you share the snippet of server.xml which you have updated?
You can change the Tomcat http port to whatever you like (allowing for OS restrictions and port conflicts), however, there are several other port IDs you'll need to change as well if you want to run 2 separate tomcats at the same time, or you'll conflict with them. Do a general text search of server.xml and you'll see them. They include ports like 8443 (SSL), 8009 (Apache AJP), 8005 (Tomcat control) and others.
An IDE is no substitute for an Intelligent Developer.