I want to execute my web app as http://localhost.
http://localhost
if you are using eclipse and modifying server.xml doesn't work for you then try following article.. they have steps to modify port if you are using IDE like eclipse.