Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

HTTP stack

Steven Jones edited this page May 9, 2013 · 3 revisions

Parrot's HTTP stack is relatively simple, we have a Varnish HTTP Accelerator listening on port 80, and forwarding requests to Apache on port 8080.

Forwarded ports

To help development we forward ports from the host machine to into the guest. The following mappings are set up:

8080 on host -> 8080 on guest (Apache)
8181 on host -> 80 on guest (Varnish)

It's recommended that you do some port forwarding on your host machine to forward traffic from the reserved port 80 to 8181, where Vagrant will forward it on to port 80 of the guest VM.

You can do this on OSX with the following line:

sudo ipfw add 100 fwd 127.0.0.1,8181 tcp from any to any 80 in
Clone this wiki locally