Problem accessing Tomcat on port 80 Ubuntu

Posted on 2011-10-04
Last Modified: 2012-05-12
I am just trying to set up tomcat and I am stuck on trying to access it from port 80.

I am getting the following error:

[client ::1] client denied by server configuration: proxy:ajp://

I have enabled the modules proxy, proxy_ajp and proxy_http.

Here is my /etc/apache2/mods-enabled/proxy.conf:
<IfModule mod_proxy.c>
        #turning ProxyRequests on and allowing proxying from all may allow
        #spammers to use your proxy to send email.

        ProxyRequests Off

        <Proxy *>
                AddDefaultCharset off
                Order deny,allow
                Deny from none # was all
                #Allow from

        # Enable/disable the handling of HTTP/1.1 "Via:" headers.
        # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
        # Set to one of: Off | On | Full | Block

        ProxyVia On

Open in new window

Question by:Jeff swicegood
    LVL 4

    Accepted Solution

    This should work:

    <IfModule mod_proxy.c>
      ProxyRequests Off
      <Proxy *>
        Order deny,allow
        Deny from all
        Allow from localhost
      ProxyVia On

    Author Closing Comment

    by:Jeff swicegood
    Thank you very much!

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
    BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (, affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now