Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I forward ports on the same Ubuntu machine? I want my webserver be available on 80 and 8880 port.

Or maybe I could making my apache listening not only on 80 port, but also on 8880? Is that possible?

share|improve this question
add comment

1 Answer

Just use the Listen directive in your Apache configuration file.

For instance, right now you'll probably have Listen 80, just add Listen 8880 after it:

Listen 80
Listen 8880

and restart Apache.

share|improve this answer
add comment

Your Answer

 
discard

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.