Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a linux box running ubuntu with LAMP. I'm planning to add opa ( on the same server. According to opa documentation it will run through port 8080 by default. Is there a way to make both run on localhost without specifying any port?

For example:

1. http://localhost/php_project/index.php
2. http://localhost/opa_project/
share|improve this question
up vote 2 down vote accepted

No it's not possible, they will both bind to a certain Port, so if you use 8080 and Apache2 uses this port as well (it's the backup http port), then your OPA will not be able to use it, thus not getting any requests through.

If you want both running, you can however configure Apache2 to pass on the request to OPA (mod_proxy) or redirect automatically to the OPA port.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.