Assuming an ubuntu server operating web applications on Tomcat (with redirection from apache 80 to 8080).

What is the recommended port configuration to secure the server? Thanks.

P.S.: I would like to keep it simple and use ufw.

link|improve this question

feedback

1 Answer

up vote 4 down vote accepted

On a firewall, you close all the connection coming from outside. So just open the port 80 seems to be sufficient. You will maybe need to an external access like SSH to monitor your server.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.