logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: ProxyPass 503 errors with local host
Author
neingesicht



Joined: 28 Feb 2013
Posts: 2

PostPosted: Thu 28 Feb '13 21:07    Post subject: ProxyPass 503 errors with local host Reply with quote

Hello,

It seems with the latest version of 2.2.24 I've had to change the ProxyPass address in http-virtualhosts to the actual address of the web server itself (Websphere / tomcat) and not the reversproxy (Apache). It seems like originally we had it looking like this more or less: ProxyPass / ajp://localhost:8009 but now have ProxyPass / ajp://webserverip:8009 and it's working that way. Which way is correct and if this isn't the correct way how do I fix this? I was getting 503 errors when it was connected to localhost (along with ajp errors) but I was able to telnet to the webserver on 8009 successfully. Any ideas would be great. Thanks!
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 679

PostPosted: Thu 28 Feb '13 21:19    Post subject: Reply with quote

What happens when you change the "localhost" to "127.0.0.1" ?

In general it is not advised to use on Windows "localhost", can give issues.
Back to top
neingesicht



Joined: 28 Feb 2013
Posts: 2

PostPosted: Thu 28 Feb '13 21:32    Post subject: Reply with quote

I guess I could have been more specific but I didn't want to put IP's in... where it says local host it was a 10.10.x.x address, so we had the actual address of the apache reverse proxy in there.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7306
Location: Germany, Next to Hamburg

PostPosted: Thu 28 Feb '13 23:53    Post subject: Reply with quote

Sounds more than a DNS problem than an apache problem. Did you modify your hosts file or the DNS server?
Back to top


Reply to topic   Topic: ProxyPass 503 errors with local host View previous topic :: View next topic
Post new topic   Forum Index -> Apache