Announcement Announcement Module
Collapse
No announcement yet.
installing tc server for port 80 and 443 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • installing tc server for port 80 and 443

    Hello,

    Is it a good idea to run tomcat on port 80 and port 443 directly or should I be using modjk. I have a VPS with 1024 MB of Ram and I really don't see the need of modproxy or modjk.

    --
    Hatim

  • #2
    Doing this as root also works

    iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080

    Comment


    • #3
      Follow Hatim's advice. You don't want the java process running with root privileges. So in order to run Tomcat as a non root user, you can't have it listen on port 80/443

      best
      Filip

      Comment

      Working...
      X