Re: Tomcat + apache = same port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Dec 6, 2006, at 9:15 AM, Ismael Milach da Silveira wrote:

Guys, I'm having a problem trying to run both apache and tomcat at the same port.

I'm able to run both of them when using different ports, but at the same port apache simply won't run at all.

You cannot run more than one server on the same IP Address + Port combination. The Linux operating system (or any other operating system) simply won't let you do that. Possible solutions:

1) Make Apache and Tomcat bind to different IP addresses. Then you
   can run them on the same port.
2) Run apache on the port, have it proxy requests to Tomcat using mod_proxy, mod_proxy_ajp or mod_jk. That way you present a unified site to your users, and have Apache decide how each request is served. It is very good at that.

Regards,

Sander

--
sctemme@xxxxxxxxxx            http://www.temme.net/sander/
Open Source Software Consultant
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF



Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux