Report this

What is the reason for this report?

I Do I Get Tomcat7 to Use Some Other Port Besides 8080 ?

Posted on August 8, 2015

http://MyDigitalOceanIPAdress:8080/MyApp was working great to start.

Now I changed /etc/tomcat7/server.xml like below, to use my new port (XXXX). However, when I try from the outside to get to my app using http://MyDigitalOceanIPAdress:XXXX/MyApp , then it just spins indefinitely.

There is something else I need to do. Can someone else tell me? Thanks.

    <Connector port="XXXX" protocol="HTTP/1.1"
               connectionTimeout="20000"
               URIEncoding="UTF-8"
               redirectPort="8443" />


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The problem is that there was a network outage. The above steps actually do work. I also should have mentioned that you have to restart tomcat7 using sudo service tomcat7 start

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.