{"id":3053,"date":"2013-11-01T16:10:00","date_gmt":"2013-11-01T16:10:00","guid":{"rendered":"https:\/\/wiki.melberi.com\/uncategorized\/change-the-apache-tomcat-default-port-number-on-windows-server"},"modified":"2017-10-23T05:26:12","modified_gmt":"2017-10-23T05:26:12","slug":"change-the-tomcat-port","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/wiki\/tomcat\/change-the-tomcat-port","title":{"rendered":"Change the Apache Tomcat default port number on Windows Server"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<h2><u><b><span style=\"font-size: large;\">How to change the default port number of Apache Tomcat on <span style=\"font-size: large;\">Windows Server<\/span> <\/span><\/b><\/u><\/h2>\n<p>To change the Apache tomcat default port 8080 to some other port number , we need to edit the server.xml file located in the tomcat program directory<br \/>\n<b>1. Go to<\/b> <b>Start-&gt; Programs -&gt; Apache Tomcat x.x-&gt; Tomcat x.x Program Directory<\/b><\/p>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<p><a style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\" href=\"http:\/\/4.bp.blogspot.com\/-PxYepGQpHTw\/UXYrjVBTvWI\/AAAAAAAAArA\/hJEMBmbsjb8\/s1600\/change+tomcat+default+port1.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"change the Apache\" src=\"http:\/\/4.bp.blogspot.com\/-PxYepGQpHTw\/UXYrjVBTvWI\/AAAAAAAAArA\/hJEMBmbsjb8\/s1600\/change+tomcat+default+port1.jpg\" alt=\"change the Tomcat default port number\" width=\"320\" height=\"174\" border=\"0\" \/><\/a><\/p>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<p>This will open the Tomcat Program directory.<\/p>\n<p><b>2. Edit<\/b> the <b style=\"color: red;\">server.xml <\/b>file located inside \/conf folder of Tomcat program directory.<\/p>\n<div style=\"text-align: left;\">Change the default port 8080 to 80 or some other port in the following line.<\/p>\n<div style=\"text-align: left;\"><span style=\"background-color: white;\">connector classname=&#8221;org.apache.coyote.tomcat4.CoyoteConnector&#8221;<\/span><br \/>\n<span style=\"background-color: white;\">port=&#8221;<span style=\"color: red;\">8080&#8243;<\/span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 minProcessors=&#8221;5&#8243; maxProcessors=&#8221;75&#8243;<\/span><\/div>\n<\/div>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<p><a style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\" href=\"http:\/\/3.bp.blogspot.com\/-AN11JZz2yGw\/UXYrfe4Hg3I\/AAAAAAAAApM\/m8j7NfUbNZo\/s1600\/apache+config1.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"change the Apache Tomcat default port number on Windows Server\" src=\"http:\/\/3.bp.blogspot.com\/-AN11JZz2yGw\/UXYrfe4Hg3I\/AAAAAAAAApM\/m8j7NfUbNZo\/s1600\/apache+config1.jpg\" alt=\"change the Apache Tomcat default port number on Windows Server\" width=\"276\" height=\"320\" border=\"0\" \/><\/a><\/p>\n<div style=\"text-align: left;\"><b>3. Save<\/b> the file and reboot tomcat<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to change the default port number of Apache Tomcat on Windows Server To change the Apache tomcat default port 8080 to some other port number , we need to&#8230; <a href=\"https:\/\/www.melberi.com\/wiki\/tomcat\/change-the-tomcat-port\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1370],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/posts\/3053"}],"collection":[{"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/comments?post=3053"}],"version-history":[{"count":2,"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/posts\/3053\/revisions"}],"predecessor-version":[{"id":4281,"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/posts\/3053\/revisions\/4281"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/media?parent=3053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/categories?post=3053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/wiki\/wp-json\/wp\/v2\/tags?post=3053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}