Port 8080 is the default setting for HTTP with Tomcat. For HTTPS, the default setting is 8443, corresponding to the HTTPS default port of 443. So to use 8181 instead, just change the "8443"s in the Tomcat server.xml to "8181"s.
Of course you also have to setup the keystore in the usual way before you can do HTTPS at all, but that's a different matter.
An IDE is no substitute for an Intelligent Developer.
Joined: Apr 13, 2010
Now modified my tomcat/conf/server.xml.
i got the following message in my browser when i try https://localhost:8181/ 'Unable to connect
Firefox can't establish a connection to the server at localhost:8181."