Results 1 to 5 of 5

Thread: Ubuntu Server, Tomcat Server and the UFW

  1. #1
    Join Date
    Jul 2010
    Beans
    61

    Ubuntu Server, Tomcat Server and the UFW

    Hello, so I've been trying to get this website up and running under tomcat7. I've installed everything and basic html pages work. The war file is uploaded and again everything is fine. I add some firewall protection and suddenly I can't access the site anymore. I've tried everything. IPv4,IPv6, tomcat7 configuration...etc I can't figure out what's going wrong. It always ends with a 500 error timeout page. This is my ufw port map:

    To Action From
    -- ------ ----
    22 ALLOW Anywhere
    25 ALLOW Anywhere
    80 ALLOW Anywhere
    8080 ALLOW Anywhere
    443 ALLOW Anywhere
    3306 ALLOW Anywhere
    9667 ALLOW Anywhere
    22 ALLOW Anywhere (v6)
    25 ALLOW Anywhere (v6)
    80 ALLOW Anywhere (v6)
    8080 ALLOW Anywhere (v6)
    443 ALLOW Anywhere (v6)
    3306 ALLOW Anywhere (v6)
    9667 ALLOW Anywhere (v6)
    Please let me know what information you need, additionally. Logs show no errors of any kind either.

  2. #2
    Join Date
    Nov 2013
    Location
    On the edge
    Beans
    872
    Distro
    Ubuntu

    Re: Ubuntu Server, Tomcat Server and the UFW

    What are the rules for outgoing? Allow all out?
    Look at the ufw logs to see what ports are getting blocked when you try to view the website.

  3. #3
    Join Date
    Jul 2010
    Beans
    61

    Re: Ubuntu Server, Tomcat Server and the UFW

    Unfortunately I have been unable to find any kind of log for ufw even with ufw logging on high. The only thing that has worked so far has been opening all ports after 10,000

  4. #4
    Join Date
    Nov 2013
    Location
    On the edge
    Beans
    872
    Distro
    Ubuntu

    Re: Ubuntu Server, Tomcat Server and the UFW

    They're not in var/log/ufw?

  5. #5
    Join Date
    Jul 2010
    Beans
    61

    Re: Ubuntu Server, Tomcat Server and the UFW

    Unfortunately there is nothing there.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •